Variables
ohlc4
Is a shortcut for (open + high + low + close)/4
Example
indicator("OHLC4 Example", overlay=true)
averagePrice = ohlc4
plot(averagePrice, color=color.orange, title="OHLC4 Price")
Type
series float Variables
Is a shortcut for (open + high + low + close)/4
indicator("OHLC4 Example", overlay=true)
averagePrice = ohlc4
plot(averagePrice, color=color.orange, title="OHLC4 Price")
series float