Open main menu

Centers the chart on the specified bar.

Usage

ScrollToBar(int DataN, int BarN)

Where:

DataN - data series number
BarN - bar number

Examples

ScrollToBar(2, 98);

Will center the chart on the 98th bar of the second data series.