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
Parameter | Type | Purpose | Default State |
---|---|---|---|
start_index | integer | Starting index of the series | 1 |
Returns: series[integer]
.
Example
start_index = index_range(1)