OPEN-SOURCE SCRIPT
MFI + RSI Overbought/Oversold w/ Independent Controls [idahodev]

This indicator displays the Money Flow Index (MFI) and Relative Strength Index (RSI) together in a single oscillator pane, with fully independent settings for each.
Both MFI and RSI can be customized with separate source inputs, lengths, smoothing types, smoothing lengths, overbought thresholds, and oversold thresholds. This makes it easier to compare price momentum and volume-weighted momentum without forcing both oscillators to use the same settings.
The script also includes conditional threshold fills. When RSI or MFI moves above its configured overbought level, the area between the oscillator line and the overbought threshold is filled. When RSI or MFI moves below its configured oversold level, the area between the oscillator line and the oversold threshold is filled. Fill colors and opacity can be customized independently for each oscillator and condition.
Features:
- Combined RSI and MFI oscillator display
- Independent RSI and MFI lengths
- Independent RSI and MFI smoothing
- SMA, EMA, RMA, WMA, or no smoothing
- Independent overbought and oversold levels
- Conditional overbought and oversold fills
- Custom fill colors and opacity
- Useful for spotting momentum extremes, divergences, and confluence between RSI and MFI
This indicator does not generate buy or sell signals by itself. It is intended as a visual analysis tool for identifying momentum conditions and possible exhaustion zones.
Both MFI and RSI can be customized with separate source inputs, lengths, smoothing types, smoothing lengths, overbought thresholds, and oversold thresholds. This makes it easier to compare price momentum and volume-weighted momentum without forcing both oscillators to use the same settings.
The script also includes conditional threshold fills. When RSI or MFI moves above its configured overbought level, the area between the oscillator line and the overbought threshold is filled. When RSI or MFI moves below its configured oversold level, the area between the oscillator line and the oversold threshold is filled. Fill colors and opacity can be customized independently for each oscillator and condition.
Features:
- Combined RSI and MFI oscillator display
- Independent RSI and MFI lengths
- Independent RSI and MFI smoothing
- SMA, EMA, RMA, WMA, or no smoothing
- Independent overbought and oversold levels
- Conditional overbought and oversold fills
- Custom fill colors and opacity
- Useful for spotting momentum extremes, divergences, and confluence between RSI and MFI
This indicator does not generate buy or sell signals by itself. It is intended as a visual analysis tool for identifying momentum conditions and possible exhaustion zones.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.