gabri

Relative Momentum Index (RMI)

Category: Indicators By: gabri Created: April 9, 2017, 9:17 AM
April 9, 2017, 9:17 AM
Indicators
1 Comment
Relative Momentum Index (RMI)

The Relative Momentum Index was developed by Roger Altman and was introduced in his article in the February, 1993 issue of Technical Analysis of Stocks & Commodities magazine.

Altman’s describe his indicator in this way :

“the RSI is modified by counting up and down days starting from today’s close relative to the close Y days ago, where Y is not necessarily 1 as required by the RSI. The RSI is released from the arbitrary restriction of comparing consecutive days for price changes” changing the  period to 20 days, but with Y set at 5 instead of 1 makes it  “easier to anticipate tradable reversal points compared with the one-parameter RSI. This modification is called the relative momentum index (RMI), in which momentum is substituted for strength, because a momentum index is usually obtained by creating a moving average of the most recent closing price compared with the close Y days in the past.”

I personally use both RSI (14 period) and RMI (20,5, with Exponential moving average). I find that RSI is better in showing divergences while RMI is better is pointing out overbought/oversold areas.

Blue skies

// inputs
//Period = 20
//Lookback = 3
//ob = 70
//os = 20

//calc
momup=max(close-close[lookback],0)
momdown=max(close[lookback]-close,0)

up = average[period,mm](momup)
dn = average[period,mm](momdown)

rm=up/dn

rmi = 100*rm/(1+rm)

return rmi as "RMI", ob,os

 

Download
Filename: Relative-Momentum-Index.itf
Downloads: 289
gabri
gabri Master
I usually let my code do the talking, which explains why my bio is as empty as a newly created file. Bio to be initialized...
Author’s Profile

Comments

Marcel
9 years ago
#

Thank you for this one. I played around with this indicator with Bollinger Bands around it instead of the fixed 30 and 70 lines to make to make the indicator more flexible and adaptive.

ProRealCode ProRealCode
Loading...