OPEN-SOURCE SCRIPT
Zaktualizowano RSI Divergence Indicator (Multi-Time Frame Confirmation)

This custom-built RSI indicator blends traditional divergence detection with multi-timeframe trend confirmation, offering traders a smarter way to spot meaningful momentum shifts.
Informacje o Wersji
The indicator detects and visualizes potential trend reversals or continuations by analyzing:RSI Divergences
Multi-timeframe RSI trend alignment
Momentum crossovers
Trend continuation zones (ribbons)
It combines price action with momentum behavior to help traders spot high-probability entry/exit points and understand the current trend state.
Informacje o Wersji
To identify high-probability trend reversals and momentum shifts using enhanced RSI signals, multi-timeframe context, and visual clarity.Informacje o Wersji
To identify meaningful trend flips, momentum divergences, and RSI cross confirmations across multiple timeframes — with filters to reduce noise and false signals.⚙️ Main Components:
✅ 1. RSI & Composite RSI
RSI: Classic oscillator using your selected source and period (default: 9, high)
Composite RSI: Blends RSI from 3 user-defined timeframes (default: 4H, 1D, 1W) with customizable weights
✅ 2. Trend Ribbon
Background fills between RSI 30–70
Green frame: Last valid cross was bullish
Red frame: Last valid cross was bearish
Purple frame: Optional flip alerts (currently with price confirmation)
✅ 3. Flip Alerts
Signals a potential trend change when:
RSI crosses Composite RSI
RSI and Composite RSI are at least 3 points apart
RSI has momentum (slope > 0.4)
AND the price confirms (e.g., green flip = close > previous high)
🔔 Optional visual “Flip” label at RSI value 90
✅ 4. Divergence Detection
Detects:
Regular Bullish/Bearish Divergences
Hidden Bullish/Bearish Divergences
Based on RSI pivots and price action
✅ 5. Dynamic Overbought/Oversold Zones
Highlights RSI values above 70 (green tint) and below 30 (red tint)
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
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 open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
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.