The Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of a security's price. The MACD is calculated using the following formula:
MACD = 12-period EMA - 26-period EMA