750
edits
(→Note) |
No edit summary |
||
(4 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'''''. | ||
<div style="background-color: #E3FBE5;">'''Note:''' SetMaxBarBack keyword can be used for indicators only. </div> | |||
== 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 16: | ||
== 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]] |