I am debugging an indicator that plots a line on the price chart with visual studio. It works fine with Debug Mode enabled in Ninjascript, attaching the NinjaTrader process in visual studio, and the breakpoint set. When I update or add the indicator on a chart, the code stops at the breakpoint as expect5ed. The issue is, as I step through the code and the indicator plots new lines, the chart is not updated. Actually, the chart is very much locked, which makes it really hard to debug if the indicator plot works as expected while stepping through the code.
Is there a way to have the charts update while stepping through the code?
BTW: I use the Draw.Line to update the drawing on the chart.
Thanks,
-Alaa

Comment