CurrentBar: Difference between revisions
From MultiCharts
(→Usage) |
|||
Line 5: | Line 5: | ||
==== Usage ==== | ==== Usage ==== | ||
<syntaxhighlight>CurrentBar</syntaxhighlight> | |||
==== Example ==== | ==== Example ==== | ||
<syntaxhighlight>CurrentBar will return the number of the current bar</syntaxhighlight> | <syntaxhighlight>CurrentBar will return the number of the current bar</syntaxhighlight> |
Revision as of 12:12, 20 January 2012
Returns the number of the current bar. 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.
Usage
CurrentBar
Example
CurrentBar will return the number of the current bar