Difference between revisions of "MaxBarsBack"
Jump to navigation
Jump to search
(Created page with "Returns 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 num...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Returns a numerical value indicating the Maximum Bars Back setting for the study. | Returns 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 | + | 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, and can be found in the settings of an indicator or signal. |
− | + | == Usage == | |
<syntaxhighlight>MaxBarsBack</syntaxhighlight> | <syntaxhighlight>MaxBarsBack</syntaxhighlight> | ||
− | + | == Example == | |
− | + | Assign a value, indicating the Maximum Bars Back setting for the study, to Value1 variable: | |
− | Value1=MaxBarsBack;</syntaxhighlight> | + | <syntaxhighlight>Value1 = MaxBarsBack;</syntaxhighlight> |
[[Category:Environment Information]] | [[Category:Environment Information]] |
Latest revision as of 10:18, 9 February 2012
Returns 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, and can be found in the settings of an indicator or signal.
Usage
MaxBarsBack
Example
Assign a value, indicating the Maximum Bars Back setting for the study, to Value1 variable:
Value1 = MaxBarsBack;