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

Trend / Reference

alerta.ta.alma

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

Calculates the Arnaud Legoux Moving Average.

alerta.ta.alma(source, length, offset, sigma, floor) → series float

Parameters

NameTypeRequiredDefaultDescription
sourceseriesYes—Series of values to process.
lengthintYes—Number of bars (length).
offsetfloatNo—Offset (default 0.85).
sigmafloatNo—Sigma (default 6).
floorboolNo—Pine v6: floor the offset position offset * (length - 1) before the weights are computed (default false).

Returns

series float

Example

alerta.ta.alma
plot(alma(close, 9, 0.85, 6))

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.