+1 888 340 6572

SetMaxBarsBack: Difference between revisions

From MultiCharts
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 ==
Assign a value, indicating the Maximum Bars Back setting for the study, to Value1 variable:  
Set a value, indicating the Maximum Bars Back setting for the study to 50:


<syntaxhighlight>Value1 = MaxBarsBack;</syntaxhighlight>  
<syntaxhighlight>SetMaxBarsBack(50);</syntaxhighlight>


[[Category:Environment Information]]
[[Category:Environment Information]]