This bit of code does nothing but print a count of drawing objects on a chart on which there are 2 rectangles.
When run for the first time, it correctly shows a count of "2" to the output window..
When you "Reload Ninjascript" , it will display a count of "0" every time.
When you "Reload All Historical Data" it will behave correctly once again, but then fails when you "Reload Ninjascript".
Seems likely I'm overlooking something as this behavior would be noticed long ago.
Help!
[ATTACH]n1046743[/ATTACH]
Comment