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