How does the offset parameter work?
The Offset parameters selects the value of an indicator in the past or even for the future for some indicators like Ichimoku.
By default, the offset is 0, i.e. the current candle is selected.
Positive values correspond to the past.
The more you increment, the further back in time you go:
- if the offset is 1, we select the previous candle.
- if the offset is 10, we select the 10th candle in the past.
Negative values correspond to the future.
The more we decrement, the further we go into the future:
- if the offset is -10, we select the 10th candle in the future.
Except for the Ichimoku indicator which is projected into the future, do not put negative values!
By default, the offset is 0, i.e. the current candle is selected.
Positive values correspond to the past.
The more you increment, the further back in time you go:
- if the offset is 1, we select the previous candle.
- if the offset is 10, we select the 10th candle in the past.
Negative values correspond to the future.
The more we decrement, the further we go into the future:
- if the offset is -10, we select the 10th candle in the future.
Except for the Ichimoku indicator which is projected into the future, do not put negative values!
Updated on: 24/02/2021