Index Field

INDEX

Represents the index of the current bar being processed. Index values start at 0 for the earliest bar on the chart and count up to COUNT - 1 for the latest bar on the chart.