Skip to content
All library documents

Constructing a Zero-Lag MACD from Exponential Averages

Article ProRealCode

Summary

The document explains a zero-lag variation of MACD, using exponential averages of closing prices to adjust both the short and long components. For each component, it subtracts a second exponential average from the first, then adds that difference back to the first average. The zero-lag MACD is the adjusted short component minus the adjusted long component. It applies the same adjustment process to an exponential-average signal line and returns both the indicator and signal series.

The stated default periods are 12 for the short average, 26 for the long average, and 9 for the signal. The page provides an indicator formula, but gives no market example, comparison with conventional MACD, test results, or guidance on how to use its values for entries and exits. The zero-lag construction is therefore presented as an indicator calculation, not evidence that it improves signals or trading performance. The remaining content concerns site privacy practices rather than trading methodology.

Key ideas

  • The indicator adjusts each exponential average by adding the difference between its first and second smoothing passes.
  • The zero-lag MACD is calculated as the adjusted short-period average minus the adjusted long-period average.
  • The signal line is produced by applying the same adjustment idea to a smoothed MACD series.
  • The document gives default short, long, and signal periods but no evidence of predictive or performance benefits.
  • It does not specify trading rules for interpreting the indicator.

Tags

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