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

Trend / Reference

alerta.ta.kama

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

Calculates the Kaufman Adaptive Moving Average.

alerta.ta.kama(source, length, fast, slow) → series float

Parameters

NameTypeRequiredDefaultDescription
sourceseriesYes—Series of values to process.
lengthintYes—Number of bars (length).
fastintNo—Fast period (default 2).
slowintNo—Slow period (default 30).

Returns

series float

Example

alerta.ta.kama
plot(kama(close, 10, 2, 30))

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.