MMaddocks

Relative Momentum Index

MMaddocks 已更新   
The RMI indicator is intended as a general upgrade to the RSI indicator based on logical improvements to the underlying mathematics of the RSI function.

The first change is that the RMI indicator uses the maximal change in price in both directions rather than simply the change in the closing price to better capture the relative momentum in each direction. The second change is that the the ratio between bullishness and bearishness is passed through a log function rather than the 1/(1+x) function to remove the processing artefacts caused by the EMAs and the compression within the restricted range. As a result, the RMI is an unbounded centred oscillator, although it is usually at a similar value to the RSI indicator doubled and centred at zero. The bands are intended to make differences between values more visible at a glance and for interface familiarity with the RSI indicator, though their levels are arbitrary and not intended as overbought/oversold signals.

The practical effect of these changes are that divergences are easier to see since the indicator is not compressed at extreme values and divergence strategies based on the RMI indicator are slightly more accurate. The list of occasions on the included DJI Weekly chart where the RMI divergence strategy correctly predicted a reversal while the RSI did not are as follows: July 1932, June 1962, May 1970, November 1987, May 2021
版本注释:
Algorithm is more similar to the ATR algorithm it was inspired by and has an improvement in the way gaps are interpreted.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?