Close (Reserved Word)

image\trumpet2.gif Disclaimer

Reserved word used to return the last price of the specified time increment or group of ticks.

Examples

Close of 1 bar ago

returns the Close price of the previous bar.

Average(Close, 10)

returns the Average of the last 10 Close prices.

Additional Example

To check that the last two bars have Close prices higher than the previous bar, the following language can be used in a ShowMe study:

If Close > Close[1] and Close[1] > Close[2] then
 
Plot1(High, "ClosedUp");