Skip to content
Algo Trade Analytics Docs

ta.mom() - Pine Script Function

Momentum of source price and source price length bars ago. This is simply a difference: source - source[length].

ta.mom(source, length) → series float
NameTypeDescription
sourceseries int/floatSeries of values to process.

Momentum of source price and source price length bars ago.

  • na values in the source series are included in calculations and will produce an na result.