PROTECTED SOURCE SCRIPT
ADP Heiken Ashi [Wonra]

**Heiken Ashi candles dynamically colored by Accumulation/Distribution Pressure (ADP) zones for enhanced trend visualization**
---
## 📝 Full Description:
### ADP Heiken Ashi [Wonra]
This indicator combines **Heiken Ashi candles** with **Accumulation/Distribution Pressure (ADP)** analysis to provide enhanced trend visualization through dynamic candle coloring.
---
### 🔬 How It Works
**Accumulation/Distribution Pressure (ADP)** is a volume-weighted momentum oscillator that measures buying and selling pressure on a 0-100 scale:
- **ADP < 45**: Accumulation Zone (buying pressure dominant)
- **ADP > 55**: Distribution Zone (selling pressure dominant)
- **ADP 45-55**: Neutral Zone (balanced pressure)
**The Calculation:**
1. Price change is compared to True Range to determine directional strength
2. Volume is applied as a weight to amplify significant moves
3. RMA smoothing creates a stable 0-100 oscillator
4. A JMA (Jurik Moving Average) signal line provides trend context
**Heiken Ashi candles** are then colored based on the ADP zone:
- **Bright Green**: Bullish HA candle in Accumulation Zone with rising ADP
- **Bright Red**: Bearish HA candle in Distribution Zone with falling ADP
- **Orange**: Bullish HA in Distribution (potential exhaustion warning)
- **Blue**: Bearish HA in Accumulation (potential reversal brewing)
---
### 🎨 Visual Guide
| Candle Color | Meaning |
|--------------|---------|
| **Bright Green** | Strong bullish momentum + smart money accumulating |
| **Light Green** | Bullish but neutral zone - proceed with caution |
| **Bright Red** | Strong bearish momentum + distribution underway |
| **Light Red** | Bearish but neutral zone - watch for changes |
| **Orange** | Bullish price but distribution detected - warning |
| **Blue** | Bearish price but accumulation detected - reversal possible |
---
### ⚙️ Settings
**ADP Settings:**
- `ADP Period` (default: 14): Lookback period for pressure calculation
- `AD Weight`: Balance between pure AD ratio and signed weighting
- `Price Weighted Volume`: Apply price as additional volume weight
**JMA Signal Settings:**
- `JMA Length` (default: 21): Smoothing period for signal line
- `JMA Phase`: Overshoot control (-100 to +100)
- `JMA Power`: Smoothness factor (1-5)
**Zone Settings:**
- `Accumulation Zone`: ADP level below which accumulation is detected
- `Distribution Zone`: ADP level above which distribution is detected
---
### 📊 Info Panel
The top-right panel displays:
- Current ADP value with zone coloring
- JMA signal line value
- Current zone status (Accumulation/Distribution/Neutral)
- ADP momentum direction (Rising/Falling)
---
### 📈 Best Use Cases
- **Trend Confirmation**: Verify trend strength through zone analysis
- **Divergence Detection**: Price vs ADP zone divergence
- **Momentum Analysis**: Track accumulation/distribution phases
- **Context Overlay**: Use alongside other analysis tools
---
### ⚠️ Important Notes
- This is a **visualization tool**, not a trading signal generator
- Heiken Ashi candles smooth price action and may lag real prices
- Always combine with other analysis methods
- Past performance does not guarantee future results
---
### 🔄 Version History
**v1.1**
- Simplified to pure visualization tool
- Enhanced ADP zone coloring
- Added JMA signal line for context
- Streamlined info panel
---
**Created by Wonra | 2025**
---
## 📝 Full Description:
### ADP Heiken Ashi [Wonra]
This indicator combines **Heiken Ashi candles** with **Accumulation/Distribution Pressure (ADP)** analysis to provide enhanced trend visualization through dynamic candle coloring.
---
### 🔬 How It Works
**Accumulation/Distribution Pressure (ADP)** is a volume-weighted momentum oscillator that measures buying and selling pressure on a 0-100 scale:
- **ADP < 45**: Accumulation Zone (buying pressure dominant)
- **ADP > 55**: Distribution Zone (selling pressure dominant)
- **ADP 45-55**: Neutral Zone (balanced pressure)
**The Calculation:**
1. Price change is compared to True Range to determine directional strength
2. Volume is applied as a weight to amplify significant moves
3. RMA smoothing creates a stable 0-100 oscillator
4. A JMA (Jurik Moving Average) signal line provides trend context
**Heiken Ashi candles** are then colored based on the ADP zone:
- **Bright Green**: Bullish HA candle in Accumulation Zone with rising ADP
- **Bright Red**: Bearish HA candle in Distribution Zone with falling ADP
- **Orange**: Bullish HA in Distribution (potential exhaustion warning)
- **Blue**: Bearish HA in Accumulation (potential reversal brewing)
---
### 🎨 Visual Guide
| Candle Color | Meaning |
|--------------|---------|
| **Bright Green** | Strong bullish momentum + smart money accumulating |
| **Light Green** | Bullish but neutral zone - proceed with caution |
| **Bright Red** | Strong bearish momentum + distribution underway |
| **Light Red** | Bearish but neutral zone - watch for changes |
| **Orange** | Bullish price but distribution detected - warning |
| **Blue** | Bearish price but accumulation detected - reversal possible |
---
### ⚙️ Settings
**ADP Settings:**
- `ADP Period` (default: 14): Lookback period for pressure calculation
- `AD Weight`: Balance between pure AD ratio and signed weighting
- `Price Weighted Volume`: Apply price as additional volume weight
**JMA Signal Settings:**
- `JMA Length` (default: 21): Smoothing period for signal line
- `JMA Phase`: Overshoot control (-100 to +100)
- `JMA Power`: Smoothness factor (1-5)
**Zone Settings:**
- `Accumulation Zone`: ADP level below which accumulation is detected
- `Distribution Zone`: ADP level above which distribution is detected
---
### 📊 Info Panel
The top-right panel displays:
- Current ADP value with zone coloring
- JMA signal line value
- Current zone status (Accumulation/Distribution/Neutral)
- ADP momentum direction (Rising/Falling)
---
### 📈 Best Use Cases
- **Trend Confirmation**: Verify trend strength through zone analysis
- **Divergence Detection**: Price vs ADP zone divergence
- **Momentum Analysis**: Track accumulation/distribution phases
- **Context Overlay**: Use alongside other analysis tools
---
### ⚠️ Important Notes
- This is a **visualization tool**, not a trading signal generator
- Heiken Ashi candles smooth price action and may lag real prices
- Always combine with other analysis methods
- Past performance does not guarantee future results
---
### 🔄 Version History
**v1.1**
- Simplified to pure visualization tool
- Enhanced ADP zone coloring
- Added JMA signal line for context
- Streamlined info panel
---
**Created by Wonra | 2025**
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.