Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.ta.obv
On this pageSignatureParametersReturnsExample

Volume / Reference

alerta.ta.obv

TradingView-compatible spelling: ta.obv, runs without warnings

Calculates OBV.

alerta.ta.obv(close, volume) → series float

Parameters

NameTypeRequiredDefaultDescription
closeseries floatYes—Close price series.
volumeseries floatYes—Volume series.

Returns

series float

Example

alerta.ta.obv
plot(obv(close, volume), { pane: "oscillator" })

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.