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.**
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.