OPEN-SOURCE SCRIPT
מעודכן 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.
הערות שחרור
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.
הערות שחרור
To identify high-probability trend reversals and momentum shifts using enhanced RSI signals, multi-timeframe context, and visual clarity.הערות שחרור
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)
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.