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

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 float

Parameters

NameTypeRequiredDefaultDescription
sourceseriesYes—Series of values to process.
lengthintYes—Number of bars (length).

Returns

series float

Example

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.

AlertaScript

No results found.

Search by name, alias, or keyword.