SetBackOffsetForCalculation
Sets the number of additional bars to include in calculations.
Syntax
Parameters
offset
- A number representing the additional bars to include in calculations.
Return Value
This method does not return a value.
Description
The SetBackOffsetForCalculation
method sets the number of additional historical bars that should be included when calculating the indicator. This is useful for indicators that require more historical data than just the visible range to calculate correctly.
Example
Last updated