Trend / Reference
alerta.ta.ema
TradingView-compatible spelling: ta.ema, runs without warnings
Calculates the exponential moving average, assigning more weight to recent prices.
alerta.ta.ema(source, length) → series floatParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
source | series | Yes | — | Series of values to process. |
length | int | Yes | — | Number of bars (length). |
Returns
series floatExample
alerta.ta.ema
plot(ema(close, 20))Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.