PROTECTED SOURCE SCRIPT
RSI + Stoch Divergence Pro

This indicator combines the Relative Strength Index (RSI) and Stochastic Oscillator in a single panel and automatically detects bullish and bearish divergences using RSI pivot structure. It is designed to provide a clean, momentum-focused view with divergence confirmation and overbought/oversold context.
The RSI is plotted as a thick primary momentum line, while the Stochastic %K and %D lines are shown as fast momentum overlays. Built-in divergence logic draws lines and labels (“Bull” / “Bear”) directly on the oscillator to highlight potential reversal zones.
Features:
RSI and Stochastic displayed together (shared 0–100 scale)
Automatic bullish and bearish RSI divergence detection
Visual divergence lines and labels
Clear overbought/oversold levels for both RSI and Stochastic
Clean, solid-line visual style by default
Suitable for scalping, intraday, and swing trading
Typical use:
Look for divergence signals near overbought/oversold zones and confirm with Stochastic momentum shifts or crossovers for higher-probability setups.
The RSI is plotted as a thick primary momentum line, while the Stochastic %K and %D lines are shown as fast momentum overlays. Built-in divergence logic draws lines and labels (“Bull” / “Bear”) directly on the oscillator to highlight potential reversal zones.
Features:
RSI and Stochastic displayed together (shared 0–100 scale)
Automatic bullish and bearish RSI divergence detection
Visual divergence lines and labels
Clear overbought/oversold levels for both RSI and Stochastic
Clean, solid-line visual style by default
Suitable for scalping, intraday, and swing trading
Typical use:
Look for divergence signals near overbought/oversold zones and confirm with Stochastic momentum shifts or crossovers for higher-probability setups.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
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 protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
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.