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!

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?