Skip to main content

index_range

Syntax Format

index_range(start_index)

Overview

The index_range function returns a series such as series [0] == start_index and series [i] == start_index + i. The function can be useful when analyzing particular historical data within the script.

Parameters

ParameterTypePurposeDefault State
start_indexintegerStarting index of the series1

Returns: series[integer].

Example

start_index = index_range(1)