OPEN-SOURCE SCRIPT
已更新 RSI Divergence (Bull/Bear)

RSI Divergence (Bull/Bear) is an advanced momentum analysis indicator that automatically detects bullish and bearish RSI divergence between price action and the Relative Strength Index (RSI). These divergence signals can help traders identify potential market reversals, trend exhaustion, and high-probability trading opportunities across multiple financial markets.
The indicator continuously analyzes swing highs and swing lows in both price and RSI, highlighting areas where momentum no longer confirms the current price movement. These conditions often appear before significant trend reversals or corrective moves.
Features
• Automatic Bullish RSI Divergence Detection
• Automatic Bearish RSI Divergence Detection
• Swing High & Swing Low Analysis
• Visual Buy & Sell Signal Labels
• Divergence Confirmation Zones
• Optional RSI Sensitivity Settings
• Clean & Lightweight Chart Layout
• Multi-Timeframe Compatible
• Non-Repainting Divergence Detection
• Customizable Signal Display
How It Works
The indicator monitors price swings alongside RSI momentum.
When price forms a **Lower Low** while RSI forms a **Higher Low**, a **Bullish Divergence** is detected, suggesting weakening selling pressure and a possible bullish reversal.
When price forms a **Higher High** while RSI forms a **Lower High**, a **Bearish Divergence** is detected, indicating weakening buying momentum and a potential bearish reversal Signals are displayed directly on the chart, allowing traders to quickly identify possible turning points.
Signal Types
🟢 Bullish Divergence
• Price makes a Lower Low
• RSI makes a Higher Low
• Possible bullish reversal
• Momentum strengthening
🔴 Bearish Divergence
• Price makes a Higher High
• RSI makes a Lower High
• Possible bearish reversal
• Momentum weakening
Best Markets
• Forex • Gold (XAUUSD) • Silver (XAGUSD)
• Crypto • Indices • Stocks • Futures
Recommended Timeframes
Scalping • M5 • M15
Intraday • M30 • H1
Swing Trading • H4 • Daily
Indicator Highlights
• Automatic RSI Divergence Detection
• Early Reversal Identification
• Visual Buy & Sell Signals
• High-Probability Momentum Analysis
• Non-Repainting Logic
• Adjustable RSI Parameters
• Beginner Friendly
• Professional Trading Tool
• Works in Trending and Ranging Markets
Suggested Trading Workflow
1. Identify the overall market trend.
2. Wait for a Bullish or Bearish RSI Divergence signal.
3. Confirm the setup using market structure, support/resistance, or candlestick confirmation.
4. Enter the trade with proper risk management and position sizing.
Notes
This indicator is designed to assist traders in identifying potential momentum shifts through RSI divergence analysis. It should be used alongside market structure, price action, and sound risk management principles. Like all technical analysis tools, it does not predict future price movements or guarantee profitable trades.
The indicator continuously analyzes swing highs and swing lows in both price and RSI, highlighting areas where momentum no longer confirms the current price movement. These conditions often appear before significant trend reversals or corrective moves.
Features
• Automatic Bullish RSI Divergence Detection
• Automatic Bearish RSI Divergence Detection
• Swing High & Swing Low Analysis
• Visual Buy & Sell Signal Labels
• Divergence Confirmation Zones
• Optional RSI Sensitivity Settings
• Clean & Lightweight Chart Layout
• Multi-Timeframe Compatible
• Non-Repainting Divergence Detection
• Customizable Signal Display
How It Works
The indicator monitors price swings alongside RSI momentum.
When price forms a **Lower Low** while RSI forms a **Higher Low**, a **Bullish Divergence** is detected, suggesting weakening selling pressure and a possible bullish reversal.
When price forms a **Higher High** while RSI forms a **Lower High**, a **Bearish Divergence** is detected, indicating weakening buying momentum and a potential bearish reversal Signals are displayed directly on the chart, allowing traders to quickly identify possible turning points.
Signal Types
🟢 Bullish Divergence
• Price makes a Lower Low
• RSI makes a Higher Low
• Possible bullish reversal
• Momentum strengthening
🔴 Bearish Divergence
• Price makes a Higher High
• RSI makes a Lower High
• Possible bearish reversal
• Momentum weakening
Best Markets
• Forex • Gold (XAUUSD) • Silver (XAGUSD)
• Crypto • Indices • Stocks • Futures
Recommended Timeframes
Scalping • M5 • M15
Intraday • M30 • H1
Swing Trading • H4 • Daily
Indicator Highlights
• Automatic RSI Divergence Detection
• Early Reversal Identification
• Visual Buy & Sell Signals
• High-Probability Momentum Analysis
• Non-Repainting Logic
• Adjustable RSI Parameters
• Beginner Friendly
• Professional Trading Tool
• Works in Trending and Ranging Markets
Suggested Trading Workflow
1. Identify the overall market trend.
2. Wait for a Bullish or Bearish RSI Divergence signal.
3. Confirm the setup using market structure, support/resistance, or candlestick confirmation.
4. Enter the trade with proper risk management and position sizing.
Notes
This indicator is designed to assist traders in identifying potential momentum shifts through RSI divergence analysis. It should be used alongside market structure, price action, and sound risk management principles. Like all technical analysis tools, it does not predict future price movements or guarantee profitable trades.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
t.me/EdwardJosFXAnalyst
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
t.me/EdwardJosFXAnalyst
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
📈 Follow our free Telegram channel for daily Forex, Gold, and Crypto market analysis, trade ideas, and educational trading content.
🔗Join: t.me/EdwardJosFXAnalyst
Trade smart. Manage risk.
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。