# MACD

## MACD

The [moving average convergence/divergence (MACD)](https://optionalpha.com/analysis/technical-indicators#macd) is a technical indicator of [momentum](https://optionalpha.com/analysis/momentum-trend) that uses moving averages to determine a trend’s strength. The MACD uses three exponential moving averages (a short term, a long term, and the average difference between the short and long term) to show price momentum.

The source code for the MACD function is found [here.](https://app.optionalpha.com/ta/MACD.txt)
