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.**
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。