PROTECTED SOURCE SCRIPT
RSI Divergence wpr Engine by MadScientist

RSI Divergence Engine by MadScientist - Advanced Momentum Analysis
A powerful divergence detection system that automatically identifies and visualizes bullish and bearish divergences between price action and oscillator momentum.
🎯 Key Features:
4 Divergence Types: Regular & Hidden Bullish/Bearish divergences
Dual Oscillator Support: Toggle between RSI and Williams %R
Automatic Detection: Smart pivot-based algorithm finds divergences in real-time
Visual Clarity: Divergence lines drawn directly on oscillator with color-coded labels
Customizable Settings: Adjust pivot lookback, divergence strength, and visual preferences
Full Alert System: 7 alert conditions for all divergence combinations
📊 Divergence Types:
Regular Bullish 🐂: Price makes lower low, oscillator makes higher low (reversal signal)
Hidden Bullish 🐂: Price makes higher low, oscillator makes lower low (trend continuation)
Regular Bearish 🐻: Price makes higher high, oscillator makes lower high (reversal signal)
Hidden Bearish 🐻: Price makes lower high, oscillator makes higher high (trend continuation)
⚙️ Configurable Parameters:
Oscillator type (RSI or Williams %R)
RSI/WPR length and overbought/oversold levels
Pivot lookback period (1-50 bars)
Maximum lookback range (10-200 bars)
Minimum divergence strength filter
Individual show/hide toggles for each divergence type
Customizable colors and zones
Perfect for traders seeking:
Early reversal signals
Trend continuation confirmations
Momentum analysis
Multi-timeframe divergence screening
Usage Tips: Works best on higher timeframes (4H+) for swing trading, or lower timeframes (5M-15M) for day trading. Combine with support/resistance levels for highest probability setups.
A powerful divergence detection system that automatically identifies and visualizes bullish and bearish divergences between price action and oscillator momentum.
🎯 Key Features:
4 Divergence Types: Regular & Hidden Bullish/Bearish divergences
Dual Oscillator Support: Toggle between RSI and Williams %R
Automatic Detection: Smart pivot-based algorithm finds divergences in real-time
Visual Clarity: Divergence lines drawn directly on oscillator with color-coded labels
Customizable Settings: Adjust pivot lookback, divergence strength, and visual preferences
Full Alert System: 7 alert conditions for all divergence combinations
📊 Divergence Types:
Regular Bullish 🐂: Price makes lower low, oscillator makes higher low (reversal signal)
Hidden Bullish 🐂: Price makes higher low, oscillator makes lower low (trend continuation)
Regular Bearish 🐻: Price makes higher high, oscillator makes lower high (reversal signal)
Hidden Bearish 🐻: Price makes lower high, oscillator makes higher high (trend continuation)
⚙️ Configurable Parameters:
Oscillator type (RSI or Williams %R)
RSI/WPR length and overbought/oversold levels
Pivot lookback period (1-50 bars)
Maximum lookback range (10-200 bars)
Minimum divergence strength filter
Individual show/hide toggles for each divergence type
Customizable colors and zones
Perfect for traders seeking:
Early reversal signals
Trend continuation confirmations
Momentum analysis
Multi-timeframe divergence screening
Usage Tips: Works best on higher timeframes (4H+) for swing trading, or lower timeframes (5M-15M) for day trading. Combine with support/resistance levels for highest 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.