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

Momentum / Reference

alerta.ta.mom

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

Calculates the momentum (difference) over an N-bar period.

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

Parameters

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

Returns

series float

Example

alerta.ta.mom
plot(mom(close, 10), { pane: "oscillator" })

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.