I use "Bars.FullSymbolData.Count" and "Bars.FullSymbolData.Current" to make a set amount of bars ( regardless of " Bars Back" ), like this.
Code: Select all
int NumberOfBars = 144;
if ( Bars.FullSymbolData.Current > Bars.FullSymbolData.Count - NumberOfBars )
Opening charts for the 1st time works fine ( almost always ). But when doing something like reloading, or jumping back for playback, these two properties doesn't seem to be accurate, in relation to each other. It's usually that "NumberOfBars" becomes something less than "144".
Can this be fixed?
Johannes Hillestad Baumann