Core / Reference
ohlc4
TradingView-compatible spelling: ohlc4, runs without warnings
Average of each bar’s open, high, low and close.
ohlc4 → series floatReturns
series floatExample
ohlc4
//@version=6indicator("Average price")plot(ohlc4)Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.