Hello, I would like to know if you can execute 2 orders in the same candle.
I have scripted the function first:
AddOrder (OrderType.SELL_TO_OPEN ...........
AddOrder (OrderType.BUY_TO_CLOSE .........
and later:
AddOrder (OrderType.BUY_TO_OPEN ......
AddOrder (OrderType.SELL_TO_CLOSE .....
Clarify: They have different conditions and I cannot use BUY_AUTO or SELL_AUTO.
I have scripted the function first:
AddOrder (OrderType.SELL_TO_OPEN ...........
AddOrder (OrderType.BUY_TO_CLOSE .........
and later:
AddOrder (OrderType.BUY_TO_OPEN ......
AddOrder (OrderType.SELL_TO_CLOSE .....
Clarify: They have different conditions and I cannot use BUY_AUTO or SELL_AUTO.