MMaddocks

Relative Momentum Index

MMaddocks Telah dikemas kini   
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
Nota Keluaran:
Algorithm is more similar to the ATR algorithm it was inspired by and has an improvement in the way gaps are interpreted.
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?