Actually my strategy is something like that:
if (EMA(Veloce)[0] < EMA(Lenta)[0])
EnterShortLimit();
ExitShortLimit();
In this case strategy sends an entry order to the first bar and after this an exit order to the next bar.
I need to send both the limit orders to the first bar; what is really important is to have both orders (the entry and the exit) sent to the same bar.
How can I solve this problem?
Thank you.
Comment