Cryptogenin

MACD: how it is calculated and how to read it

Last updated: 10/15/2026

MACD (Moving Average Convergence Divergence) was created by Gerald Appel in the 1970s. It compares two exponential moving averages to measure the strength and direction of price momentum.

How it is calculated

In the default setup, MACD(12,26,9), the main line is the 12-period EMA minus the 26-period EMA. A 9-period EMA of that line gives the signal line. The histogram shows the distance between the two.

The names used in Cryptogenin

The chart shows three values: DIF (the main line, EMA 12 minus EMA 26), DEA (the signal line) and MACD (the histogram bars). Here, each bar is the difference between DIF and DEA multiplied by 2, a common convention on charting platforms. It only changes the scale of the bars, not the shape of the indicator.

How to read it

Limits

Because it is built from moving averages, MACD lags and gives many false signals in sideways markets. Divergences can last a long time without a reversal. It is usually combined with RSI and moving averages to confirm context.

Open the chart

← Back to guides