Bars count query

 

Hi,


Can someone please explain the following probelem:


Bars, is say 1234,


but, High[1234] is always = 0.00000.


Not sure why?


High[1233], is say 1.2345.


But High[1234], is 0.00000.


Is the last bar unreadable?


Am I missing something?


When you auto-scroll backwards in time to the last bar shown on the selected instrument's chart, it appears to be the next to last bar, e.g. bar 1233, and not bar 1234.


Any help would be greatly appreciated.

 

The first bar is 0 so if you have 1234 bars then the last bar is 1233.

 
tovan:

The first bar is 0 so if you have 1234 bars then the last bar is 1233.

So simple!


Why didn't I think of that?


Thank you very much.