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.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt chroniony
Ten skrypt został opublikowany jako zamknięty kod źródłowy. Można z tego korzystać swobodnie i bez żadnych ograniczeń — więcej informacji znajduje się tutaj.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.