×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

SetMaxBarsBack

99 bytes added, 7 February
no edit summary
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 ==
<syntaxhighlight>SetMaxBarsBack (BarsBack)</syntaxhighlight>'''
Where: '''<code>(BarsBack)</code>''' - numerical expression, specifying the number of bars back
== Note ==
== Example ==
Assign Set a value, indicating the Maximum Bars Back setting for the study, to Value1 variable50:
<syntaxhighlight>Value1 = MaxBarsBackvariables: SetMaxBarsBack(50);</syntaxhighlight>
[[Category:Environment Information]]