Skip to content
AlertaChartAlertaScript / docs
AlertaScript / hl2
On this pageSignatureReturnsExample

Core / Reference

hl2

TradingView-compatible spelling: hl2, runs without warnings

Average of the high and low of each bar: (high + low) / 2.

hl2 → series float

Returns

series float

Example

//@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.

AlertaScript

No results found.

Search by name, alias, or keyword.