MACD indikators tiek aprēķināts, atņemot ilgtermiņa EMA (eksponenciālais mainīgais vidējais) indikatoru no īstermiņa EMA.