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

Momentum / Reference

alerta.ta.kst

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

Weighted momentum oscillator built from four smoothed ROC components.

alerta.ta.kst(source, roc1, roc2, roc3, roc4, sma1, sma2, sma3, sma4) → series float

Parameters

NameTypeRequiredDefaultDescription
sourceseriesYes—Series of values to process.
roc1intNo—ROC period 1 (default 10).
roc2intNo—ROC period 2 (default 15).
roc3intNo—ROC period 3 (default 20).
roc4intNo—ROC period 4 (default 30).
sma1intNo—Smoothing for ROC1 (default 10).
sma2intNo—Smoothing for ROC2 (default 10).
sma3intNo—Smoothing for ROC3 (default 10).
sma4intNo—Smoothing for ROC4 (default 15).

Returns

series float

Example

alerta.ta.kst
plot(kst(close, 10, 15, 20, 30, 10, 10, 10, 15), { 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.