Ago

From MultiCharts
Revision as of 10:48, 7 February 2012 by JoshM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Used in combination with Bar or Bars and a numerical expression to reference the bar a specified number of bars back from the current bar. For example, Close 4 Bars Ago.

Bars Ago can also be specified by using the bar offset notation that consists of a numerical expression enclosed in square brackets. For example, Close[4].

Usage

N Bars Ago

or:

[N]

Where:

N - a numerical expression specifying the number of bars back to reference.

Example

Plot the closing price of the previous bar:

Plot1(Close Of 1 Bar Ago, "Previous bar's close");

Plot the closing price of two bars ago:

Plot1(Close[2], "Close 2 bars ago");