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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน