Reply

How to operate Multiple Strategies within one EA

2 replies

daveM

Subscriber, bbp_participant, community, customer, 111 replies.

Visit profile

7 years ago #112419

I would like to be able to have three or four sets of conditions for entry, using an ‘OR’

 

like this

 

if stoch is……….

 

or

 

if macd is……

 

or

 

if Bollinger is…………

 

 

then do Buy or Sell.

 

Can someone tell me how to create this in the Trading Rule page?

 

Thanks

 

daveM

 

0

Mark Fric

Administrator, sq-ultimate, 3 replies.

Visit profile

7 years ago #125649

Hello,

 

it is simple to use OR instead of AND. Just click on the ‘and’ in the first column and change it to ‘or’.

 

If you are combining condition with multiple ANDs and ORs you can also use brackets to make sure it is evaluated properly.

 

I’m attaching a sample strategy.

 

Mark
StrategyQuant architect

0

daveM

Subscriber, bbp_participant, community, customer, 111 replies.

Visit profile

7 years ago #125680

Thanks Mark…….. After I had written the post I realized the ‘OR’ and also additional ‘Rules’ would suit me

0

Viewing 3 posts - 1 through 3 (of 3 total)