×

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.

CurrentBar - MultiCharts
Open main menu

CurrentBar

Revision as of 13:40, 18 January 2012 by 194.84.116.138 (talk) (Created page with "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; t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Example

CurrentBar will return the number of the current bar