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

Trend / Reference

alerta.ta.dema

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

Calculates the Double Exponential Moving Average.

alerta.ta.dema(source, length) → series float

Parameters

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

Returns

series float

Example

alerta.ta.dema
plot(dema(close, 21))

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.