Relative Momentum Index (RMI)

StratCraft indicator page for momentum-adjusted RSI.

Route: /indicators/rmi/

What It Does

RMI extends RSI by comparing current price to a price lookback, making it a momentum-aware oscillator.

Formula

RMI = RSI of momentum over the selected lookback

Parameters

  • period - default 20
  • movav - default SmoothedMovingAverage
  • upperband - default 70
  • lowerband - default 30
  • safediv - default False
  • safehigh - default 100
  • safelow - default 50
  • lookback - default 5

C++23 API

#include <nonabt/indicators/rmi.hpp>
auto rmi = std::make_unique<nonabt::RMI>(data().close(), 20, "SmoothedMovingAverage", 70.0, 30.0, "False", 100.0, 50.0, 5);

Common Usage

  • Use it as a momentum-sensitive RSI variant.
  • Pair it with trend confirmation to avoid counter-trend fades.
  • Helpful in breakout and continuation systems.