×

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

100 bytes removed, 22:03, 28 June 2012
no edit summary
The number of bars is called '''''Maximum number of bars a study will reference''''', or '''''Maximum Bars Back'''''.
 
== Usage ==
<syntaxhighlight>SetMaxBarsBack</syntaxhighlight> '''<syntaxhighlight>(BarsBack)</syntaxhighlight>'''
Where: '''<syntaxhighlightcode>(BarsBack)</syntaxhighlightcode>''' - numerical expression, specifying the number of bars back
== Note ==
'''<syntaxhighlightcode>(BarsBack)</syntaxhighlightcode>''' can't be a negative value.
== 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]]