I am experiencing a strange issue with EnterShortStop() and EnterLongStop() orders.
I have just spotted that, when backtesting my strategy (historical data from MBT, EUR/GBP, 15min), my orders only seem to be valid during the bar AFTER the order is made.
Here is my code for entry orders;
EnterLongStop(10000,High[0] + (5 * TickSize));
EnterShortStop(10000, Low[0] - (5 * TickSize));
If my order price is not reached in the following bar then it never gets filled.
ExitOnClose = false and GTC = true. What am I doing wrong?
Thanks!

Comment