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!

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?