I left my computer on overnight as I was in an active trade on the GBPUSD. Upon waking up and checking my computer, it seemed to have restarted overnight and NinjaTrader was no longer open. I reopened NinjaTrader and enabled my strategy, neither my stop nor my target had been hit and I was still active in the trade, but because NinjaTrader had disconnected, the strategy was no longer managing the trade by adjusting stops and targets which are specified in the algorithm.
Is there a way to include a fail safe into Ninjascript such that if NinjaTrader crashes/disconnects in any way, upon reopening NinjaTrader if a trade is still active, the algorithm continues to manage the trade.
Comment