OPEN-SOURCE SCRIPT
MACD & RSI Divergence (ON-CHART)

*MACD & RSI Divergence (On-Chart Overlay) — Pro Signal Visualization Layer**
This is a companion overlay designed for the **MACD & RSI Divergence Pro system**, built to project divergence signals directly onto the price chart for cleaner execution and faster decision-making.
It does not calculate indicators independently—instead, it acts as a **visual mapping layer**, synchronising with the main divergence engine.
---
### 🔍 Core Purpose
This script enhances trade clarity by displaying:
* MACD divergence signals on price action
* RSI divergence signals on price action
* Swing structure counts for momentum tracking
* Visual divergence confirmation lines
It transforms oscillator-based signals into **actionable chart-level events**.
---
### 📊 Key Features
• **On-Chart Divergence Mapping**
* MACD bullish & bearish divergences
* RSI bullish & bearish divergences
* Regular and hidden structure signals
• **Multi-Signal Integration**
* Combines MACD + RSI logic into one visual layer
* Separates momentum vs structure divergence
* Highlights high-confidence confluence zones
• **Swing Count Tracking**
* MACD swing progression counter
* StochRSI momentum swing tracking
* Helps identify trend exhaustion phases
• **Divergence Line Visualization**
* Connects pivot highs and lows
* Shows structural divergence clearly on price
* Enhances pattern recognition and confirmation
• **Execution-Focused Design**
* No oscillator clutter
* Clean price-based signal presentation
* Built for fast decision-making environments
---
### 📊 How to Use
**Bullish Divergence**
* Price forms lower low
* RSI / MACD forms higher low
→ Potential reversal or continuation upward
**Bearish Divergence**
* Price forms higher high
* RSI / MACD forms lower high
→ Potential reversal or continuation downward
**Confluence Zones**
* When MACD + RSI divergences align
→ Higher probability setup
---
### ⚠️ Important Notes
* This is a **companion overlay**, not a standalone system
* Best used alongside the main “MACD & RSI Divergence Pro” indicator
* Signals gain strength when multiple divergences align
---
### 🚀 Ideal For
* Advanced divergence traders
* Smart money / structure-based trading
* Scalpers and intraday traders
* Traders who need visual confirmation on price
---
### 🧠 Trading Philosophy
**Oscillators generate signals.
Price confirms intent.
This tool bridges the two.**
---
**See divergence where it actually matters — on price.**
This is a companion overlay designed for the **MACD & RSI Divergence Pro system**, built to project divergence signals directly onto the price chart for cleaner execution and faster decision-making.
It does not calculate indicators independently—instead, it acts as a **visual mapping layer**, synchronising with the main divergence engine.
---
### 🔍 Core Purpose
This script enhances trade clarity by displaying:
* MACD divergence signals on price action
* RSI divergence signals on price action
* Swing structure counts for momentum tracking
* Visual divergence confirmation lines
It transforms oscillator-based signals into **actionable chart-level events**.
---
### 📊 Key Features
• **On-Chart Divergence Mapping**
* MACD bullish & bearish divergences
* RSI bullish & bearish divergences
* Regular and hidden structure signals
• **Multi-Signal Integration**
* Combines MACD + RSI logic into one visual layer
* Separates momentum vs structure divergence
* Highlights high-confidence confluence zones
• **Swing Count Tracking**
* MACD swing progression counter
* StochRSI momentum swing tracking
* Helps identify trend exhaustion phases
• **Divergence Line Visualization**
* Connects pivot highs and lows
* Shows structural divergence clearly on price
* Enhances pattern recognition and confirmation
• **Execution-Focused Design**
* No oscillator clutter
* Clean price-based signal presentation
* Built for fast decision-making environments
---
### 📊 How to Use
**Bullish Divergence**
* Price forms lower low
* RSI / MACD forms higher low
→ Potential reversal or continuation upward
**Bearish Divergence**
* Price forms higher high
* RSI / MACD forms lower high
→ Potential reversal or continuation downward
**Confluence Zones**
* When MACD + RSI divergences align
→ Higher probability setup
---
### ⚠️ Important Notes
* This is a **companion overlay**, not a standalone system
* Best used alongside the main “MACD & RSI Divergence Pro” indicator
* Signals gain strength when multiple divergences align
---
### 🚀 Ideal For
* Advanced divergence traders
* Smart money / structure-based trading
* Scalpers and intraday traders
* Traders who need visual confirmation on price
---
### 🧠 Trading Philosophy
**Oscillators generate signals.
Price confirms intent.
This tool bridges the two.**
---
**See divergence where it actually matters — on price.**
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.