SetMaxBarsBack: Difference between revisions
From MultiCharts
no edit summary
(→Note) |
Swisstrader (talk | contribs) No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
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 == | ||
<syntaxhighlight>SetMaxBarsBack (BarsBack)</syntaxhighlight>''' | <syntaxhighlight>SetMaxBarsBack (BarsBack)</syntaxhighlight>''' | ||
Where: | Where: ''<code>(BarsBack)</code>'' - numerical expression, specifying the number of bars back | ||
== Note == | == Note == | ||
Line 16: | Line 15: | ||
== Example == | == Example == | ||
Set a value, indicating the Maximum Bars Back setting for the study to 50: | |||
<syntaxhighlight> | <syntaxhighlight>variables: SetMaxBarsBack(50);</syntaxhighlight> | ||
[[Category:Environment Information]] | [[Category:Environment Information]] |