Technical Analysis

The MACD indicator (for professionals)


In this article we will focus on the accurate setting of the popular MACD indicator / oscillator.

 

Calculation


To calculate the linear MACD we subtract the shorter period and faster exponential moving average from the longer period and slower exponential moving average.

In most cases, the result is smoothed by the exponential moving average (EMA) in order to rectify random fluctuations.

  1. MACD = ЕМАs(P) – EMAl(P)
  2. Signal = EМАa(ЕМАs(P) – EMAl(P)) — a signal line.
  3. Histogram of the difference = (1) – (2) — vertical lines on the indicator

where:

EMAs(P)a longer period exponential moving average.

ЕМАl(P) a shorter period exponential moving average.

EМАa(P) a shorter period smoothing moving average of the difference between the two EMAs

P — usually a closing price, but other variants are also possible (Open, High, Low, Close, Median Price, Typical Price и т. д.)

By default, the following MACD settings are used on the daily chart:

  • EMAs – (short) a 12 day EMA of closing prices (two weeks).
  • EMAI – (long) a 26 day EMA of closing prices (month).
  • EMAa – (smoothing average) a 9 day EMA.

indicators

 

Indicator values


The indicator is a histogram which values ​​do not depend on the specific values ​​of the moving averages, but show the relative difference between them. Therefore, the indicator (or rather, its histogram) fluctuates in relation to its zero axis. It has positive values ​​when the asset grows and has negative ones when it falls.

At the same time, the MACD consists of trend-following indicators (i.e. moving averages). That’s why it incorporates aspects of both a trend indicator and an oscillator.

 

Conclusion


The MACD is a blend of trend and momentum indicator and it can give large amount of information about the trend in the market. At the same time, it is capable of determining the trend’s reversal points, as well as of working within the existing trend.

Nevertheless, like most indicators, it is extremely dangerous to use its signals without additional analysis. The MACD is perfect for creating trading algorithms, but we don’t recommend that you rely entirely on its signals.

Related posts
Technical Analysis

Kagi chart

Gráfico Kagi (Jap か ぎ 足) - usado na análise técnica do gráfico atual de preços do ativo, que exibe a direção da mudança de preço na forma de uma série de linhas...
Technical Analysis

Donchian’s channel

Channels are one of the very first tools for analyzing markets That's why trading strategies based on channels are so popular in different...
Technical Analysis

Pivot Points

Pivot point — is a technical indicator, which serves to determine potential points of the asset price reverse The first mention of its use dates back to 1934 Over time, several...
Official Olymp Trade Blog