Not sure if there is a way to do this or not but is there a way to playback data tick by tick so that you can basically run a debugger on a strategy? I started my strategy in NinjaScript editor but completed it using Visual Studio 2019. I know that in the past when doing this for an indicator I had to connect the debug session to the NinjaTrader.exe process. How do I run play back on the tick data? Would I run Strategy Analyzer and set (check) Tick Replay to true.
I am running my strategy on a 1 day chart with -
Calculate = Calculate.OnEachTick;
Also, I have been running this strategy on another platform. It has two different ways that it can hit a profit target. On the day that the strategy triggers and gets into the market I base the first profit target on the Average True Range. If I am not flat during that trading session, i.e. never hit my ATR target, I will get out at the next sessions first profitable opening, unless I am stopped out by my stop loss. I have not quite figured out how to get out on the next sessions first profitable opening. Are there any code examples that would show how to do this?
Comment