I added one integer variable called 'count'
and then added 2 lines of code to the 'on bar update' method
count ++;
Print (count);
I loaded the ES0613 1 Minute chart (see JPG#1)
I then cleared the output window to make sure nothing was sitting in there.
I then got an unexpected result when I loaded the indicator.
The output window showed 2 instance of the count value before I even loaded the indicator (Called A1Test). See JPG#2 -- notice I have not even selected the indicator named A1TEST - but the output window shows 2 values (1 & 1)
To me this says my code is being executed even before I add the indicator to my chart.
I'm somewhat of a noob with Ninja - so Im hoping there is a simple explanation
Thanks
Comment