Reply

Close all long or short orders when the opposite type opens

2 replies

sdstrading

Subscriber, bbp_participant, community, 14 replies.

Visit profile

8 years ago #113636

Hi,

Is their a function to close all long/short orders when the opposite type opens without using the magic numbers for each order.

I have build an ea that has many rules however if I add another rule I then need to go back and edit every single rule as well and ensuring I dont miss any.

any ideas would be greatly appreciated.

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #130010

no, there is no rule to close all long or all short orders, it works only with magic numbers, or with all orders.

 

This is something that can be added to the new version.

Mark
StrategyQuant architect

0

sdstrading

Subscriber, bbp_participant, community, 14 replies.

Visit profile

8 years ago #130039

Thanks

0

Viewing 2 replies - 1 through 2 (of 2 total)