Relative Momentum Index

The Relative Momentum Index is an RSI by Roger Altman of the change over several periods, the momentum, instead of the change over one period. Because each change spans several periods, it holds its overbought and oversold readings longer and swings more smoothly than the RSI.

The formula for the Relative Momentum Index starts from the momentum, the change of the close over the last m periods:

\[\text{Momentum} = \text{Close} - \text{Close}_{t-m}\]

As in the RSI, the relative strength divides Wilder’s moving average of the positive momentum over the last n periods by that of the negative momentum, Wilder’s moving average being an exponential moving average with a smoothing factor of 1 / n:

\[\text{Momentum RS} = \frac{\text{Wilder MA}\left(\max\left(\text{Momentum}, 0\right), n\right)}{\text{Wilder MA}\left(\max\left(-\text{Momentum}, 0\right), n\right)}\]

The index turns that ratio into a value between 0 and 100:

\[\text{RMI} = 100 - \left(\frac{100}{1 + \text{Momentum RS}}\right)\]

With \(m = 1\) the Relative Momentum Index is the RSI. It is read like the RSI, but a longer momentum period keeps it in the overbought or oversold zone longer in a trend, so it is often read by its turns out of those zones.

Also known as: RMI.

In the Finance Toolkit this is get_relative_strength_index with method="momentum", the same function as Relative Strength Index (RSI).

Example · BTCUSD, ETHUSD · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_relative_strength_index:

from financetoolkit import Toolkit

toolkit = Toolkit(
    tickers=["BTCUSD", "ETHUSD"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.technicals.get_relative_strength_index(method="momentum")

Which returns:

References

  • Paper Altman, R. (1993). “Relative Momentum Index: Modifying RSI.” Technical Analysis of Stocks & Commodities, 11(2), 57-60.
Share