SetMaxBarsBack: Difference between revisions
From MultiCharts
no edit summary
(Created page with "Category:Environment Information") |
Swisstrader (talk | contribs) No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Sets a numerical value indicating the Maximum Bars Back setting for the study. | |||
All studies based on past data use a certain number of bars for their calculations. | |||
The number of bars is called '''''Maximum number of bars a study will reference''''', or '''''Maximum Bars Back'''''. | |||
== Usage == | |||
<syntaxhighlight>SetMaxBarsBack (BarsBack)</syntaxhighlight>''' | |||
Where: ''<code>(BarsBack)</code>'' - numerical expression, specifying the number of bars back | |||
== Note == | |||
''<code>(BarsBack)</code>'' can't be a negative value. | |||
== Example == | |||
Set a value, indicating the Maximum Bars Back setting for the study to 50: | |||
<syntaxhighlight>variables: SetMaxBarsBack(50);</syntaxhighlight> | |||
[[Category:Environment Information]] | [[Category:Environment Information]] |