I'm working on an indicator that puts certain draw objects onto the chart, such as trendlines, diamonds, etc. I have noticed that when I scroll through a historical chart bar by bar, such that the indicator is updated on very bar, sometimes some of the drawobjects are not drawn at all! However, if I then "Reload Ninjascript" using the right mouse button, the indicator will draw all objects properly.
So it almost looks like my code is OK, but NT sometimes 'forgets' to draw some of the objects.
Do you know what is causing this? Am I overlooking something? And what can I do about it?
Thanks!
Comment