Strategy 'XXXXX/-1': A SellShort order placed at 'XXXXXX' has been ignored since the stop price is greater than or equal to the close price of the current bar. This is an invalid order and subsequent orders may also be ignored. Please fix your strategy.
How to avoid this order? I tried with
Close[0] >= GetCurrentBid
but that doesn't seem to work. I am using a CalculateOnBarClose strategy in NT8. It should be easy to reproduce this issue if you using as stop-entry-level yesterday close.
Comment