moving average convergence- divergence · pdf filethe macd line is the 12-day expo-nential...

2
The MACD line is the 12-day expo- nential moving average (EMA) less the 26-day EMA. Typically closing prices are used. Exponential moving averages are similar to simple moving averages, except that more weight is given to the latest data. As a result, this type of moving average reacts faster to recent price changes than a simple moving average. For more information on exponential moving averages, see the Spreadsheet Corner article from the Third Quarter 2010 issue of CI, available at www.comput erizedinvesting.com. The signal line is a nine-day EMA of the MACD line and is plotted along with the MACD line on a chart. It is the interaction between these two lines—crossovers and di- vergences—that traders look for. Lastly, the MACD histogram measures the difference between the MACD line and the signal line. It is positive when the MACD line is above the signal line and negative when the signal line is above the MACD Line. The 12-, 26- and nine-day settings are the typical settings used for the MACD. However, you can adjust the lengths to fit your trading style. Furthermore, you can use the MACD with daily, weekly or monthly charts. Interpreting MACD As implied by its name, the MACD is concerned with the convergence and divergence of the two exponen- tial moving averages. Convergences occur when the two lines move toward each other, while divergences take place when the two moving averages move away from each other. The MACD line oscillates above and below the “zero” line or centerline. The MACD is above the centerline whenever the 12-day EMA is above the 26-day EMA. Crossovers above or below the centerline take place when the 12- and 26-day EMAs cross. A rising MACD line means the 12-day EMA is diverging fur- This column is devoted to technical analysis, which studies the supply and demand for securities based on price activity and trading volume. Charts and indicators are used to uncover patterns that may point to future price movements. Figure 1. Moving Averages for Terra Nitrogen Co. (TNH) Source: StockCharts.com. a divergence between price and the indicator. One indicator combines the trend- following characteristics of moving averages with oscillator character- istics that help indicate whether a security is overbought or oversold and help pinpoint possible divergenc- es. The indicator is called moving average convergence-divergence, or MACD. Construction Developed by Gerald Appel in the late1970s, MACD turns two trend- following moving averages into a mo- mentum oscillator by deducting the longer-period moving average from the shorter-period one. Specifically, the MACD is commonly calculated as follows: MACD Line = 12-day EMA – 26-day EMA Signal Line = 9-day EMA of MACD Line MACD Histogram = MACD Line – Signal Line Moving Average Convergence- Divergence (MACD) Moving averages are some of most simple technical indicators investors use. While their simplicity makes them very popular, they do suf- fer from one drawback—they are trend-following indicators that work best during strong trending periods. During sideways or choppy markets, moving averages tend to generate false signals and are prone to “whip- saws,” where buy or sell signals are reversed in a short time. To overcome this, technicians use an indicator called the oscillator, which is more sensitive, and thus more responsive, to this kind of mar- ket activity. Oscillators may be used to determine overbought or oversold conditions as well as whether there is Computerized Investing 30

Upload: votram

Post on 06-Feb-2018

218 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Moving Average Convergence- Divergence · PDF fileThe MACD line is the 12-day expo-nential moving average (EMA) less the 26-day EMA. Typically closing prices are used. Exponential

The MACD line is the 12-day expo-nential moving average (EMA) less the 26-day EMA. Typically closing prices are used. Exponential moving averages are similar to simple moving averages, except that more weight is given to the latest data. As a result, this type of moving average reacts faster to recent price changes than a simple moving average. For more information on exponential moving averages, see the Spreadsheet Corner article from the Third Quarter 2010 issue of CI, available at www.computerizedinvesting.com.

The signal line is a nine-day EMA of the MACD line and is plotted along with the MACD line on a chart. It is the interaction between these two lines—crossovers and di-vergences—that traders look for.

Lastly, the MACD histogram measures the difference between the MACD line and the signal line. It is positive when the MACD line is above the signal line and negative when the signal line is above the MACD Line.

The 12-, 26- and nine-day settings are the typical settings used for the MACD. However, you can adjust the lengths to fi t your trading style. Furthermore, you can use the MACD with daily, weekly or monthly charts.

Interpreting MACD

As implied by its name, the MACD is concerned with the convergence and divergence of the two exponen-tial moving averages. Convergences occur when the two lines move toward each other, while divergences take place when the two moving averages move away from each other. The MACD line oscillates above and below the “zero” line or centerline. The MACD is above the centerline whenever the 12-day EMA is above the 26-day EMA. Crossovers above or below the centerline take place when the 12- and 26-day EMAs cross. A rising MACD line means the 12-day EMA is diverging fur-

This column is devoted to technical analysis, which studies the supply and demand for securities based on price activity and trading volume. Charts and indicators are used to uncover patterns that may point to future price movements.

Figure 1. Moving Averages for Terra Nitrogen Co. (TNH)

Source: StockCharts.com.

a divergence between price and the indicator.

One indicator combines the trend-following characteristics of moving averages with oscillator character-istics that help indicate whether a security is overbought or oversold and help pinpoint possible divergenc-es. The indicator is called moving average convergence-divergence, or MACD.

Construction

Developed by Gerald Appel in the late1970s, MACD turns two trend-following moving averages into a mo-mentum oscillator by deducting the longer-period moving average from the shorter-period one. Specifi cally, the MACD is commonly calculated as follows:MACD Line = 12-day EMA – 26-day EMASignal Line = 9-day EMA of MACD LineMACD Histogram = MACD Line – Signal Line

Moving Average Convergence-Divergence (MACD)

Moving averages are some of most simple technical indicators investors use. While their simplicity makes them very popular, they do suf-fer from one drawback—they are trend-following indicators that work best during strong trending periods. During sideways or choppy markets, moving averages tend to generate false signals and are prone to “whip-saws,” where buy or sell signals are reversed in a short time.

To overcome this, technicians use an indicator called the oscillator, which is more sensitive, and thus more responsive, to this kind of mar-ket activity. Oscillators may be used to determine overbought or oversold conditions as well as whether there is

Computerized Investing30

Page 2: Moving Average Convergence- Divergence · PDF fileThe MACD line is the 12-day expo-nential moving average (EMA) less the 26-day EMA. Typically closing prices are used. Exponential

ther from the 26-day EMA, which indicates rising upside momentum. The MACD falls as the 12-day EMA diverges further below the 26-day EMA. This indicates that downside momentum is increasing.

Figure 1, which is a chart of Terra Nitrogen Co. (TNH) from Stock-Charts.com, shows the interaction be-tween the moving averages and their impact in the MACD.

The yellow shaded area depicts when the MACD line is negative,

or when the 12-day EMA is below the 26-day EMA. The MACD line became negative in September 2011, as indicated by the black “cross” ar-row in the lower pane. As the 12-day EMA fell further below the 26-day EMA, the MACD line fell deeper into negative territory. In October 2011, the 12-day EMA rose above the 26-day EMA, which resulted in the crossover of the MACD line into positive territory (the orange shaded area).

To Be Continued

In this installment of Technically Speaking, we began a discussion of the moving average convergence-divergence indicator. It takes a simple trend-following indicator—the moving average—and turns it into a momentum oscillator.

In the 2012 Third Quarter issue of Computerized Investing, we will ex-pand on this discussion to cover how traders might use the MACD.

Isn’t it time you used Stock Investor Pro to fi nd winning stocks?

Now it’s easy to screen for stocks that meet your personal investment criteria.

Did you know that AAII members can subscribe to the same investment database tool that our editors use to populate AAII.com with winning stock screens?

The program includes preprogrammed screens from some of the best investing minds on the planet. Screen names and 10-year annualized returns include:

Charles Kirkpatrick up 21.9%Peter Lynch up 13.9%John Neff up 16.1%Benjamin Graham up 22.4%William O’Neil up 19.5%James O’Shaughnessy up 19.2%10-year annual price gain as of 11/30/11.

With Stock Investor Pro, you’ll be able to do far more research... far better... in far less time!A Stock Investor Pro subscription, with initial program disk and weekly and monthly online updates, is just $198 per year for AAII members. Stock Investor Pro subscriptions are all backed by our 12-month money-back guarantee.

Order Stock Investor Pro today for only $198!

System requirements: Windows 2000, XP, Vista or 7 (32- and 64-bit), CD-ROM drive, and 64M of RAM with 350M of free hard drive space.

• Stock Investor Pro CD• Screen on 2,000 data fi elds• Weekly online updates

• 60 preprogrammed screens• How-to screening articles• Monthly Stock Investor News and video tutorials

www.aaii.com/sipro or call (800) 428-2244 or (312) 280-0170

31Second Quarter 2012