MACD stands for Moving Average Convergence-Divergence. It is used to identify overbought and oversold conditions.
Indicator Type
Momentum oscillator
Works Best
Wide-swinging trading ranges and at the conclusion of strong trends.
Formula
The Moving Average Convergence-Divergence (MACD) indicator makes use of three moving averages, usually of the exponential variety. Two are averages of price and the third is an average of the difference of the other two.
The MACD line is generated from the first two averages, subtracting the longer from the shorter. The Signal Line is simply a moving average of the MACD line.
Parameters
Common moving average sets are {12,26, 9} for bottoms and {19, 39, 9} for tops. As with all moving average based analyses, the longer the averages, the longer the analysis horizon.
defaults to the {12, 26, 9} set.
You can also select colors for the MACD and Signal Lines by selecting the appropriate box to bring up a color palette.
Theory
In an upward and smoothly trending market, a longer average will be increasing. A short average, being more sensitive to normal price fluctuations within the trend, will show more changes in direction. If the two averages are plotted together, the shorter average will oscillate around the longer average. A strong near-term rally will cause the difference between the two moving averages to increase until an extreme value is reached. This signals an overbought condition. Conversely, in a down market, spreads will become negative until an extreme is reached indicating an oversold condition.
Interpretation
As a rule, the market is bullish if the MACD line is rising and is above the Signal Line. It is bearish if the MACD line is falling and is below the Signal Line. Buy signals are given when the MACD crosses above the signal; similar to price crossing above a moving average. Sell signals are given when the MACD crosses below the signal.
Other analysis includes divergence with price action. While extreme values of the MACD line reveal overbought and oversold conditions, since MACD is not indexed (constrained to move between 0 and 100), extreme values must be relative to its own history.
Finally, crossovers of the zero line are also useful in determining trend direction.