HOT TOPICS LIST
INDICATORS LIST
LIST OF TOPICS
The moving average convergence/divergence (MACD) is a momentum oscillator developed by Gerald Appel in the early 1970s. The MACD measures the divergence or convergence of a shorter moving average with a longer moving average and is represented in two ways: a line form and a histogram. In this chart the histogram version is displayed. In the line version you will see two lines, the "fast" line which is the difference between the 12- and 26-period exponential moving average (EMA), and the "signal" line which is the EMA of the fast line. The histogram displays the difference between the fast and signal lines and are plotted above or below the zero line. It is the crossovers of the fast and signal lines, movement through the zero line, and divergences that generate the buy and sell signals. |
A sample code for calculating the MACD is: Calpha12 = 2/(12+1) Calpha26 = 2/(26+1) Calpha9 = 2/(9+1) Clast = last price |
The difference between the 12-period and 26-period exponetial moving averages has turned from a negative number to a positive number. This is shown above in the chart as "buy signal". |
Graphic provided by: CQG. |
|
*12 period exponetial moving average EMA12N = Calpha12*(Clast) + (1-Calpha12)*Clastema12 *26 period exponetial moving average EMA26N = Calpha26*(Clast) + (1-Calpha26)*Clastema26 MACD CDIFFMACD = EMA12N - EMA26N Signal Line EMAMACD = Calpha9*CDIFFMACD + (1-Calpha9)*Clastmacd |
Title: | Industrial Engineer |
Company: | Technical Analysis, Inc. |
Address: | 4757 California Ave SW |
Seattle, WA 98116 | |
Phone # for sales: | 206 938 0570 |
Website: | Traders.com |
E-mail address: | JasonHutson@Traders.com |
Traders' Resource Links | |
Charting the Stock Market: The Wyckoff Method -- Books | |
Working-Money.com -- Online Trading Services | |
Traders.com Advantage -- Online Trading Services | |
Technical Analysis of Stocks & Commodities -- Publications and Newsletters | |
Working Money, at Working-Money.com -- Publications and Newsletters | |
Traders.com Advantage -- Publications and Newsletters | |
Professional Traders Starter Kit -- Software |
Click here for more information about our publications!