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

Momentum / Reference

alerta.ta.ultosc

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

Calculates the Ultimate Oscillator using three timeframes.

alerta.ta.ultosc(high, low, close, length1, length2, length3) → series float

Parameters

NameTypeRequiredDefaultDescription
highseriesYes—High series.
lowseriesYes—Low series.
closeseriesYes—Close series.
length1intNo—Short length (default 7).
length2intNo—Medium length (default 14).
length3intNo—Long length (default 28).

Returns

series float

Example

alerta.ta.ultosc
plot(ultosc(high, low, close, 7, 14, 28), { 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.