Skip to content
All library documents

Zero-Lag MACD Construction with Double-Smoothed Exponential Averages

Article ProRealCode

Summary

This document explains a MACD variant called MACD Platinum, built by applying a zero-lag adjustment to exponential moving averages. For each MACD leg, it computes an exponential average, smooths that result again, and adds the difference between the two averages back to the first. It then subtracts the longer-period zero-lag average from the shorter-period one. The signal line uses the same adjustment on a smoothed version of the MACD.

The indicator displays the MACD and signal line, colors the area between them according to their relative positions, and marks crossovers. The example uses the conventional short, long, and signal periods of 12, 26, and 9. The document says the indicator was converted from MT4 code and is part of a manual strategy, but supplies no strategy rules, backtest, or performance results. It describes an indicator implementation, not evidence that zero-lag calculations improve trading outcomes; crossover signals may still lag or generate false signals in changing market conditions.

Key ideas

  • The indicator replaces standard exponential averages with a zero-lag adjustment based on double smoothing.
  • The MACD is the difference between its short and long zero-lag averages.
  • The signal line applies the same adjustment to a smoothed MACD series.
  • A colored area and markers visually identify the relationship and crossovers between the lines.
  • The document provides no performance evidence or complete trading rules for the associated manual strategy.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.