Bar

bar(Area, Num Bars Ago) Area = o (Open), h (High), l (Low), c (Close)


The bar operator returns the open, high, low, or close of the Num Bars Ago (number of bars ago) bar parameter. For example, if you wanted to get the previous bar’s close value, you would enter the following:


bar(c, 1)