Momentum

forge.taclassSince Forge API 1
Signaturepython
forge.ta.Momentum(**inputs: Any) -> None

Price now against price a number of bars ago.

Inputs

NameTypeDefaultRange
sourcesourceclose
periodint141 to 5000
methodchoicedifference

Indicator: Momentum

difference: x[i] - x[i-period]

mt5: x[i] * 100 / x[i-period], the MetaTrader 5 form, centred on 100

An earlier value of 0 leaves the mt5 bar empty.