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

Volume / Reference

alerta.ta.adosc

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

Calculates the Accumulation/Distribution Oscillator (Chaikin).

alerta.ta.adosc(high, low, close, volume, fastLength, slowLength) → series float

Parameters

NameTypeRequiredDefaultDescription
highseriesYes—High series.
lowseriesYes—Low series.
closeseriesYes—Close series.
volumeseriesYes—Volume series.
fastLengthintNo—Fast EMA length (default 3).
slowLengthintNo—Slow EMA length (default 10).

Returns

series float

Example

alerta.ta.adosc
plot(adosc(high, low, close, volume, 3, 10), { 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.