> For the complete documentation index, see [llms.txt](https://help.ampfutures.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.ampfutures.com/trading-platforms/quantower/analytics-panels/chart/technical-indicators/oscillators/moving-average-convergence-divergence.md).

# Moving Average Convergence/Divergence

## Description <a href="#description" id="description"></a>

Moving average convergence/divergence(MACD) indicator graphically describes the mathematical difference between fast and slow exponential moving averages. The third line is called a “signal line”. Common periods of moving averages are: 26 for a slow EMA, 12 for a fast and 9 for a signal line.

![](/files/-MZK-62W6pLS3EOOdTck)

## Formula <a href="#formula" id="formula"></a>

Fast EMA - Slow EMA

## Most useful cases <a href="#most-useful-cases" id="most-useful-cases"></a>

* **Divergence/Convergence** - Divergence/Convergence pattern is a form of price action when new high(low) on the price scale not confirmed with a new high of MACD. Such price and indicator’s behavior can be interpreted as the weakness of current existing trend.

![](https://gblobscdn.gitbook.com/assets%2F-LD6FsRvQ3jgwJIg6O7r%2F-LEFRI8AOGKOm8LblISj%2F-LEFYgqOaFu04fcJfStC%2FScreenshot_3.png?alt=media\&token=8db3fb43-a11b-475f-a8e7-050e653c6a78)

* **Crossover** - Crossover pattern occurs when MACD value crosses the signal line upward or downward. This signal can be used as a trigger to open buy/sell position.
* **Crossing zero line** - this is a trend reversing signal and it can be very useful in case of determining a correction of existing trend, beginning of a new trend wave or starting a new trend.
