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

Core / Reference

hlcc4

TradingView-compatible spelling: hlcc4, runs without warnings

Pine v6: shortcut for `(high + low + close + close) / 4`. Close is counted twice, giving more weight to the close price.

hlcc4 → series float

Returns

series float

Example

plot(ta.ema(hlcc4, 14))

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.