×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

CurrentBar

46 bytes added, 11:45, 19 February 2012
no edit summary
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 ====
<syntaxhighlight>CurrentBar</syntaxhighlight>
==== Example ==Notes ==<syntaxhighlight>CurrentBar will return * Also see the number of the current bar</syntaxhighlight>        [[MaxBarsBack]] PowerLanguage word.
== Example ==
<syntaxhighlight>CurrentBar</syntaxhighlight>
Will return the number of the current bar.
[[Category:Data Information/General]]

Navigation menu