Glossary
MACD
Moving Average Convergence Divergence: the difference between a fast and a slow exponential average, usually 12 and 26 periods, with a 9-period signal line.
The MACD line is EMA(12) - EMA(26). The signal line is an EMA of 9 periods of the MACD line, and the histogram is the MACD line minus the signal line. Gerald Appel developed it in the late 1970s.
It measures the gap between two averages, so it carries their lag. Its level depends on the price scale and cannot be compared across assets.
Example: EMA(12) = 105.0 and EMA(26) = 103.2 give a MACD line of 1.8. With the previous signal at 1.2, the new signal is 0.2 x 1.8 + 0.8 x 1.2 = 1.32 and the histogram is 0.48.