Difference between revisions of "Symbol currentbar"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns a numerical value indicating the number of the current bar plus '''Maximum Bars Back''' setting for the study == Usage == <syntaxhighlight>Symbol_currentbar</syntaxhi...")
 
 
Line 13: Line 13:
 
<syntaxhighlight>Symbol_currentbar</syntaxhighlight>
 
<syntaxhighlight>Symbol_currentbar</syntaxhighlight>
 
Will return the number of the current bar plus '''Maximum Bars Back''' setting for the study.
 
Will return the number of the current bar plus '''Maximum Bars Back''' setting for the study.
 +
 +
[[Category:Data Information/General]]

Latest revision as of 12:15, 20 September 2012

Returns a numerical value indicating the number of the current bar plus Maximum Bars Back setting for the study

Usage

Symbol_currentbar

Notes

Each bar, subsequent to the initial number of bars specified by the Maximum Bars Back setting, is assigned a sequential number; the initial bars specified by the setting are not numbered.

For example, if Maximum Bars Back is set to 20, the 21st bar will be assigned a number of 1.

Example

Symbol_currentbar

Will return the number of the current bar plus Maximum Bars Back setting for the study.