+1 888 340 6572

SetMaxBarsBack

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Sets a numerical value indicating the Maximum Bars Back setting for the study.

All studies based on past data use a certain number of bars for their calculations.

The number of bars is called Maximum number of bars a study will reference, or Maximum Bars Back.

Note: SetMaxBarBack keyword can be used for indicators only.

Usage

SetMaxBarsBack (BarsBack)

Where: (BarsBack) - numerical expression, specifying the number of bars back

Note

(BarsBack) can't be a negative value.

Example

Set a value, indicating the Maximum Bars Back setting for the study to 50:

variables: SetMaxBarsBack(50);