Variables
close
The bar's closing price. This is the value most calculations start from. On a bar that has not finished forming, the reading is that bar's closing value so far.
Example
indicator("close")
latest_close = close
plot(latest_close, color=color.blue, title="Close Price")
Type
series float