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 floatParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
source | series | Yes | — | Series of values to process. |
roc1 | int | No | — | ROC period 1 (default 10). |
roc2 | int | No | — | ROC period 2 (default 15). |
roc3 | int | No | — | ROC period 3 (default 20). |
roc4 | int | No | — | ROC period 4 (default 30). |
sma1 | int | No | — | Smoothing for ROC1 (default 10). |
sma2 | int | No | — | Smoothing for ROC2 (default 10). |
sma3 | int | No | — | Smoothing for ROC3 (default 10). |
sma4 | int | No | — | Smoothing for ROC4 (default 15). |
Returns
series floatExample
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.