thevisualedge

MFI/RSI Averager

Like many traders, I have relied on the RSI / MFI indicators to determine overbought/oversold conditions. Occasionally, these indicators fail to reflect a true top or bottom of a price move. However, I found that when these indicators had confluence with one another--when *both* the MFI and RSI were in overbought/oversold territory at the same time--they tended to be much more reliable.

For a couple weeks I just combined the two indicators into a single pane, constantly (and annoyingly) adjusting the scale so the overbought/oversold lines would match up. Finally, I determined to learn PineScript enough to hack the RSI/MFI into a single indicator that averages the two and plots them on a single line.

Since the RSI/MFI have overbought levels set at 70 & 80 (respectively) and oversold levels at 30 & 20 (respectively), this averager splits the difference and sets them at 75/25.

Enjoy!

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?