Basic Components
The graph above shows a stock with a MACD indicator underneath it. The indicator shows a blue line, a red line, and a histogram or bar chart which calculates the difference between the two lines. Values are calculated from the price of the stock in the main part of the graph.
For the example above this means:
- MACD line (blue line): difference between the 12 and 26 days EMAs
- signal (red line): 9 day EMA of the blue line
- histogram (bar graph): difference between the blue and red lines
Mathematically:
- MACD = EMA – EMA
- signal = EMA
- histogram = MACD – signal
The period for the moving averages on which an MACD is based can vary, but the most commonly used parameters involve a faster EMA of 12 days, a slower EMA of 26 days, and the signal line as a 9 day EMA of the difference between the two. It is written in the form, MACD (faster, slower, signal) or in this case, MACD(12,26,9).
Read more about this topic: MACD
Famous quotes containing the words basic and/or components:
“Theres one basic rule you should remember about development charts that will save you countless hours of worry.... The fact that a child passes through a particular developmental stage is always more important than the age of that child when he or she does it. In the long run, it really doesnt matter whether you learn to walk at ten months or fifteen monthsas long as you learn how to walk.”
—Lawrence Kutner (20th century)
“Hence, a generative grammar must be a system of rules that can iterate to generate an indefinitely large number of structures. This system of rules can be analyzed into the three major components of a generative grammar: the syntactic, phonological, and semantic components.”
—Noam Chomsky (b. 1928)