MACD (Moving Average Convergence Divergence) is a trend-following momentum indicator created by Gerald Appel in the late 1970s. It shows the relationship between two exponential moving averages (EMAs) of a stock's price. The standard settings use a 12-period EMA and a 26-period EMA. The MACD line is calculated by subtracting the 26-period EMA from the 12-period EMA. A 9-period EMA of the MACD line serves as the signal line.
The MACD histogram is the visual representation of the difference between the MACD line and the signal line. When the histogram is positive (MACD above signal), momentum is bullish. When negative (MACD below signal), momentum is bearish. The height of the histogram bars indicates the strength of momentum. Shrinking histogram bars — even while still positive — warn that bullish momentum is weakening, which often precedes a bearish crossover.
Signal line crossovers are the primary MACD trading signal. A bullish crossover occurs when the MACD line crosses above the signal line, suggesting upward momentum is building. A bearish crossover occurs when the MACD line crosses below the signal line, indicating downward momentum. These crossovers are most reliable when they occur far from the zero line — a bullish crossover deep in negative territory often marks the start of a significant trend reversal.
The zero line is the equilibrium point where the 12-period EMA equals the 26-period EMA. When MACD crosses above zero, the short-term trend is officially above the long-term trend — a bullish confirmation. When MACD crosses below zero, the short-term trend is below the long-term trend — bearish. Zero line crossovers tend to be lagging signals but are useful for confirming trend direction. A stock with MACD above zero is generally in an uptrend.
MACD divergence works similarly to RSI divergence. Bullish divergence: price makes a lower low but MACD makes a higher low. Bearish divergence: price makes a higher high but MACD makes a lower high. MACD divergence can appear on the MACD line itself or on the histogram. Histogram divergence (sometimes called "hidden divergence") often provides earlier warnings than line divergence.
Common MACD mistakes to avoid: (1) Using MACD in isolation — always combine with price action and volume. (2) Ignoring the histogram — it provides earlier signals than crossovers. (3) Trading every crossover — in choppy markets, MACD generates many false crossovers. Filter by requiring the crossover to occur on the correct side of the zero line. (4) Using default settings for all timeframes — shorter timeframes may benefit from faster settings like 8/17/9.
MACD in the Egyptian market context: Egyptian stocks can be volatile with sudden news-driven moves. MACD works best for identifying medium-term trends lasting weeks to months. For day-to-day EGX trading, combine MACD with RSI for confirmation — a bullish MACD crossover plus RSI above 50 is a stronger signal than either alone. FoudaLens incorporates MACD into its momentum scoring pillar, using both crossover direction and histogram slope. This is not financial advice.
This content is for educational purposes only and does not constitute financial advice. Always do your own research before making investment decisions.