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.
N Bars Ago
- N - a numerical expression specifying the number of bars back to reference.
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, "Close 2 bars ago");