OPEN-SOURCE SCRIPT
Adaptive Convergence Divergence

### Adaptive Convergence Divergence (ACD)
By Gurjit Singh
The Adaptive Convergence Divergence (ACD) reimagines the classic MACD by replacing fixed moving averages with adaptive moving averages. Instead of a static smoothing factor, it dynamically adjusts sensitivity based on price momentum, relative strength, volatility, fractal roughness, or volume pressure. This makes the oscillator more responsive in trending markets while filtering noise in choppy ranges.
#### 📌 Key Features
1. Dual Adaptive Structure: The oscillator uses two adaptive moving averages to form its convergence-divergence line, with EMA/RMA as signal line:
* Primary Adaptive (MA): Fast line, reacts quickly to changes.
* Following Adaptive (FAMA): Slow line, with half-alpha smoothing for confirmation.
2. Adaptive MA Types
* ACMO: Adaptive CMO (momentum)
* ARSI: Adaptive RSI (relative strength)
* FRMA: Fractal Roughness (volatility + fractal dimension)
* VOLA: Volume adaptive (volume pressure)
3. PPO Option: Switch between classic MACD or Percentage Price Oscillator (PPO) style calculation.
4. Signal Smoothing: Choose between EMA or Wilder’s RMA.
5. Visuals: Colored oscillator, signal line, histogram with adaptive transparency.
6. Alerts: Bullish/Bearish crossovers built-in.
#### 🔑 How to Use
1. Add to chart: Works on any timeframe and asset.
2. Choose MA Type: Experiment with ACMO, ARSI, FRMA, or VOLA depending on market regime.
3. Crossovers:
* Bullish (🐂): Oscillator crosses above signal → potential long entry.
* Bearish (🐻): Oscillator crosses below signal → potential short entry.
4. Histogram: expansion = strengthening trend; contraction = weakening trend.
5. Divergences:
* Bullish (hidden strength): Price pushes lower, but ACD turns higher = potential upward reversal.
* Bearish (hidden weakness): Price pushes higher, but ACD turns lower = potential downward reversal.
6. Customize: Adjust lengths, smoothing type, and PPO/MACD mode to match your style.
7. Set Alerts:
* Enable Bullish or Bearish crossover alerts to catch momentum shifts in real time.
#### 💡 Tips
* PPO mode normalizes values across assets, useful for cross-asset analysis.
* Wilder’s smoothing is gentler than EMA, reducing whipsaws in sideways conditions.
* Adaptive smoothing helps reduce false divergence signals by filtering noise in choppy ranges.
By Gurjit Singh
The Adaptive Convergence Divergence (ACD) reimagines the classic MACD by replacing fixed moving averages with adaptive moving averages. Instead of a static smoothing factor, it dynamically adjusts sensitivity based on price momentum, relative strength, volatility, fractal roughness, or volume pressure. This makes the oscillator more responsive in trending markets while filtering noise in choppy ranges.
#### 📌 Key Features
1. Dual Adaptive Structure: The oscillator uses two adaptive moving averages to form its convergence-divergence line, with EMA/RMA as signal line:
* Primary Adaptive (MA): Fast line, reacts quickly to changes.
* Following Adaptive (FAMA): Slow line, with half-alpha smoothing for confirmation.
2. Adaptive MA Types
* ACMO: Adaptive CMO (momentum)
* ARSI: Adaptive RSI (relative strength)
* FRMA: Fractal Roughness (volatility + fractal dimension)
* VOLA: Volume adaptive (volume pressure)
3. PPO Option: Switch between classic MACD or Percentage Price Oscillator (PPO) style calculation.
4. Signal Smoothing: Choose between EMA or Wilder’s RMA.
5. Visuals: Colored oscillator, signal line, histogram with adaptive transparency.
6. Alerts: Bullish/Bearish crossovers built-in.
#### 🔑 How to Use
1. Add to chart: Works on any timeframe and asset.
2. Choose MA Type: Experiment with ACMO, ARSI, FRMA, or VOLA depending on market regime.
3. Crossovers:
* Bullish (🐂): Oscillator crosses above signal → potential long entry.
* Bearish (🐻): Oscillator crosses below signal → potential short entry.
4. Histogram: expansion = strengthening trend; contraction = weakening trend.
5. Divergences:
* Bullish (hidden strength): Price pushes lower, but ACD turns higher = potential upward reversal.
* Bearish (hidden weakness): Price pushes higher, but ACD turns lower = potential downward reversal.
6. Customize: Adjust lengths, smoothing type, and PPO/MACD mode to match your style.
7. Set Alerts:
* Enable Bullish or Bearish crossover alerts to catch momentum shifts in real time.
#### 💡 Tips
* PPO mode normalizes values across assets, useful for cross-asset analysis.
* Wilder’s smoothing is gentler than EMA, reducing whipsaws in sideways conditions.
* Adaptive smoothing helps reduce false divergence signals by filtering noise in choppy ranges.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.