SetMaxBarsBack: Difference between revisions
From MultiCharts
(→Usage) |
No edit summary |
||
Line 4: | Line 4: | ||
The number of bars is called '''''Maximum number of bars a study will reference''''', or '''''Maximum Bars Back'''''. | The number of bars is called '''''Maximum number of bars a study will reference''''', or '''''Maximum Bars Back'''''. | ||
== Usage == | == Usage == | ||
Line 16: | Line 15: | ||
== Example == | == Example == | ||
Set a value, indicating the Maximum Bars Back setting for the study to 50: | |||
<syntaxhighlight> | <syntaxhighlight>SetMaxBarsBack(50);</syntaxhighlight> | ||
[[Category:Environment Information]] | [[Category:Environment Information]] |
Revision as of 11:43, 24 February 2012
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.
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:
SetMaxBarsBack(50);