Determining the trend using EMA and SMA moving averages
It would be unfair to mention in the article Charles H. Dow as one of the popularizers of moving averages and not to mention his Dow theory. We still use it today and often do not even know to whom we owe it. The Dow Theory states that during an uptrend there is a higher high and a higher low. During a downtrend, on the other hand, a lower low and a lower high. Let's show this in Figure 3, but then we'll abandon this theory because it doesn't use moving averages, which is what this article is about.
Downtrend depicted by Dow theory - lower high (LH) and lower low (LL) forming
Price crosses the moving average
The first way to identify a trend using moving averages is to watch when the price crosses the moving average. Usually, if the price is above the average, the price is in an uptrend, if below the average, it is in a downtrend - see Figure 4.
Determining the trend using the exponential moving average EMA20
Figure 4 shows the EURUSD currency pair in the 4H time frame. The orange line is the exponential moving average with a period of 20, i.e. in standard EMA20 notation.
We can see that when the EURUSD price moves below the EMA20, the pair tends to fall further until the price is above the EMA20, etc.
Thus, at point A a sell signal was generated, at point B a buy signal was generated, which lasted until point C, where a sell signal was generated again, etc.
You will notice that the signals are not always completely clean, but sometimes there will be several times when the average is crossed before the signal is confirmed. We also see that the average reacts to large price fluctuations with a large delay and thus does not copy the price. This is unfortunately quite common and is a feature of moving averages that are lagged.
Determining the trend using two or more averages
We can help ourselves by adding another exponential average. Figure 5 shows the same situation, plus we have an exponential average with a period of 50, the EMA50.
The situation appears a little clearer. The moment the faster EMA20 crosses the EMA50 from top to bottom, a short signal is generated, i.e. speculation of a decline. This is the situation at points A, C and E. At points B and D, the situation is when the EMA20 crosses the EMA50 from bottom to top, thus creating a buy signal, i.e. a long speculation on an increase in the instrument.
EMA20 (orange) and EMA50 (green) on the EURUSD currency pair
We can see that even this method is not perfect. In fact, the crossover occurred at a time when much of the move had already been realized. What if we tried other averages? Let's see what the situation would look like when we add another average in the chart, this time with a period of 10, i.e. in our EMA10 designation.
Chart with the EURUSD currency pair after adding the third moving average (EMA10 - blue)
We can see that the EMA10 crosses the EMA20 first, followed by the crossing of the EMA20 and EMA50.
We can experiment with adding more averages. It is convenient to look at the whole situation from a bird's eye view using the top-down approach. That is, we start with the analysis on the weekly chart and progress to the lower time frames.
Weekly chart using moving averages
On the weekly chart at point A, a signal to decline, i.e. a speculation short, has occurred. This signal lasted from June 2014 to April 2017, when a buy signal was created at point B, which lasted for about a year and was terminated by a sell signal at point C.
Moving to a lower timeframe, for example, daily or 4H, we would then try to find suitable entry points, where after the signal at point A we would look for entries primarily on a short strategy and after the signal at point B we would look for long entries.