Adaptive MACD Deluxe
Jun 7, 2025

The Adaptive MACD Deluxe indicator provides a modern enhancement to the traditional Moving Average Convergence Divergence by incorporating dynamic weighting, volatility normalization, and multiple signal smoothing methods.
Usage
The tool is designed for identifying momentum shifts and trend bias across various asset classes. Users can interpret the indicator through several key visual elements:
- Momentum Histogram: A color-coded gradient histogram displays momentum strength. Brighter colors indicate increasing momentum, while faded colors suggest weakening strength.
- Signal Smoothing: Traders can select from six smoothing types (EMA, SMA, SMMA, WMA, VWMA, and Heiken Ashi) to adjust the responsiveness of the signal line. The Heiken Ashi mode is particularly useful for filtering noise in volatile markets.
- Normalization: Enabling normalization scales the MACD values relative to volatility (high-low range). This allows for a percentage-based interpretation, making it easier to identify overbought and oversold conditions consistently across different timeframes.
- Threshold Zones: The script highlights upper and lower reversal zones. Directional arrows (▲/▼) appear when the MACD enters or exits these zones, signaling potential exhaustion or trend reversals.
Details
This indicator introduces a deterministic weight based on the R-squared correlation of price with time. This feedback loop adjusts the speed of the MACD:
- High Correlation: Leads to smoother, more stable MACD responses.
- Low Correlation: Results in faster, more reactive calculations to capture rapid price changes. The momentum calculation blends traditional EMA logic with damping components to reduce lag and noise. When the normalization feature is active, the MACD series is divided by an EMA of the price range, effectively bounding the indicator and providing relative scale.
Settings
MACD
- R-Squared Lookback: The period used to calculate correlation, affecting how the indicator adapts to market determinism.
- Fast EMA Length: Sets the sensitivity of the fast line to recent price action.
- Slow EMA Length: Sets the baseline for the MACD and the trend bias.
- Signal EMA Length: Determines the smoothing applied to the signal line.
Signal
- Signal Smoothing Type: Selects the mathematical method used for the signal line, including a custom Heiken Ashi candle mode.
Normalize
- Normalize MACD: Toggles the volatility-relative percentage scaling.
- Upper/Lower Zone: Sets the threshold levels for the overbought and oversold zones.
Appearance
- Primary/Secondary Colors: Customizes the visual style of uptrend and downtrend elements.
FAQ
How do I interpret the histogram gradients? Brighter colors represent accelerating momentum in the direction of the trend, while darker or faded gradients indicate that momentum is beginning to stall or reverse.
What is the benefit of the Heiken Ashi signal mode? The Heiken Ashi mode replaces the standard signal line with trend-following candles based on the MACD values, providing a clearer visual representation of bullish or bearish bias without the "choppiness" of standard lines.
How can I access Adaptive MACD Deluxe? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.