The MACD stock trading method was developed in the 1960s by Gerald Appel and became popular with online trading platforms. The MACD trading strategy has enjoyed great popularity as a technical analysis tool. In Technical Analysis of Stocks & Commodities, George Siligardos's article “Leader of the MACD" implies the MACD has been superceded by more sophisticated analyses. Regardless, the MACD is still a commonly used technical analysis component of the best online stock market trading software.
When the MACD for a stock is positive, its long-term price is trending bullish. If the MACD is negative, the long-term outlook is bearish. When the MACD crosses its signal line, the trend momentum is changing.
The MACD is:
The moving average convergence/divergence (MACD) is a long-term trend momentum indicator. The MACD is a lagging indicator, describing past price behavior, therefore it has fallen out of favor with many stock market analysts. For a stock market day trader, the MACD is of limited usefulness. There are many other indicators better suited for predicting short-term performance.
The MACD measures trend deviation by calculating the difference between two exponential moving averages (EMAs) by subtracting the shorter term MA from the longer term MA. The individual plots of these two exponential moving averages are continually converging and diverging. The two moving averages used in the MACD are calculated exponentially, meaning more recent price data carries more weight than more distant data.
There are many possible parameter settings for MACD calculation, depending on whether your timeframe of interest is daily, weekly, or monthly. For example, when working with a monthly chart, you can calculate the MACD of a stock by subtracting the closing price’s 26 period exponential moving average (EMA) from its 12 period EMA. This can be expressed as the formula:
MACD=EMA (12)-EMA (26)
An appropriate MACD signal line in this scenario is the plot of EMA (9).
Your stock charting software can calculate EMAs and plot the MACD for you, but be sure the default settings are relevant and modify if necessary. The relevant period interval may be in months, weeks, days, hours, or even minutes. For example, calculate MACD with daily intervals for a monthly or yearly chart, but with minute intervals for intraday charts.
The MACD is used in conjunction with its signal line, often a 9-period EMA of the MACD, in histogram form to anticipate changes in trend direction. When the MACD crosses the signal from above, a short signal is triggered. When it crosses its signal from below, a long signal is generated.
The MACD can exhibit whipsaw behavior. Whipsaw behavior is when an indicator approaches or crosses its signal line suggesting a change in trend direction, but then reverses, essentially yielding a false positive signal for market timing decisions.
To prevent either MACD indifference or response to false entry and exit points, skilled stock traders combine the MACD with other stock market technical analysis indicators. These stock trading strategies may include short-term trend indicators, but if your investment outlook is long-term such indicators may provide trend noise irrelevant to your investment timeframe.
Martin J. Pring states in Technical Analysis Explained that most daily stock charts plot MACD with defaults of EMA (26)/EMA (12) with a 9-day signal EMA when in reality these parameters are better suited to a monthly chart. These system settings minimize whipsaw crossovers while preserving the primary trend over this timeframe.
Compare this to the MACD advice from Signalert’s Gerald Appel, referenced in Pring’s Technical Analysis Explained. Appel recommends buy signals on a daily chart should stem from a MACD constructed from EMA (8)/EMA (17) with a 9 period signal. Appel reserves sell signals produced by a MACD of 12,25, and 9 period combinations.
According to Pring, set your technical analysis software to calculate MACD from EMA (65)/EMA (90)with a 12-minute period signal for best performance on hourly charts. This stock trading system will improve signal relevance.