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

Core / Reference

ohlc4

TradingView-compatible spelling: ohlc4, runs without warnings

Average of each bar’s open, high, low and close.

ohlc4 → series float

Returns

series float

Example

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

AlertaScript

No results found.

Search by name, alias, or keyword.