Order exit = SubmitOrderUnmanaged (0, OrderAction.Sell, OrderType.StopMarket, filled, 0, stopP, "", exitName);
where stopP = 427.87. a Close [0] = 429.52. Although the stop price is below Close [0] I get the message:
2019-04-16 16:58:30:950 ERROR: Strategy 'T1/-1': A Sell stop order placed at '07.01.2016 02:00:00' has been ignored since the stop price is greater than or equal to the close price of the current bar.
There are only one asset. What is wrong ?
I'm including screen from Visual Studio debuger.
Comment