相对动量指数 (Relative Momentum Index)
动量调整后的 RSI 的 QuantNexus 指标页面。
Route: /quantnexus/indicators/rmi/
作用
RMI 通过将当前价格与价格回看(lookback)进行比较来扩展 RSI,使其成为一个具有动量意识的振荡器。
公式
RMI = 选定回看周期内的动量 RSI
参数
period- 默认20movav- 默认SmoothedMovingAverageupperband- 默认70lowerband- 默认30safediv- 默认Falsesafehigh- 默认100safelow- 默认50lookback- 默认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);
常见用法
- 用作对动量敏感的 RSI 变体。
- 与趋势确认配合使用,以避免逆势交易(counter-trend fades)。
- 在突破和延续系统中非常有用。
