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!

Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?