I searched for same threads, but find nothing.
I made strategy.
It open position and SetStopLoss().
I click on chart and press F5.
What we have after?
Stop loss cancelled.
Position remains opened.
Is this expected behaviour?
Can I do something to close positions and cancel all orders on Reload NinjaScript?
I tried make something in State.Termination, but Positions object is null and all orders are null at this state.
Comment