What Is a Moving Average?
The two basic and most commonly used moving averages include the Simple Moving Average (SMA) and the Exponential Moving Average (EMA). The first is the simple average of a security over a defined number of time periods, while the second gives a greater weight to more recent prices.
The image below shows the SMA, which is formed by calculating the average price of a financial market over a chosen period of time.
The EMA, as demonstrated in the image below, applies more weight and significance to most recent prices, and less weight to older prices in the chosen period.
The image below shows a comparison between the SMA (blue line) and the EMA (orange line).
Why Use Moving Averages in Trading
Moving averages are popular in technical market analysis, as they are able to smooth price data, form trendlines, and create an easily interpreted visual aid. They are especially well suited for price charts and other indicators. Some of the advantages of using moving averages include:
Disadvantages of Moving Averages
No method is perfect, and moving average comes with its own set of disadvantages. Moving average:
How to Trade Using Moving Averages
There are various methods of using Moving Averages in trading. This article focuses primarily on:
1. Using One Moving Average
When one moving average is applied to the chart then a buy signal is provided when the chart breaks the moving average from the bottom with the body of a candlestick. On the other hand, a sell signal is provided when the chart breaks the moving average from the top with the body of a candlestick.
In the example above, a 50 period SMA was applied to Gold. As you can see, the market first provided a buy signal, after which the market gained in value. Later the market broke the SMA from the top providing a sell signal, after which the market lost in value.
2. Using Two Moving Averages
When two moving averages are used with two different periods, a buy signal is provided when the shorter term moving average breaks the longer term moving average from the bottom. On the other hand, a sell signal is provided when the shorter moving average breaks the longer term moving average from the top.
In the example above, a 50-period SMA (blue line) and a 100-period SMA (white line) were applied on the DE30 chart. A buy signal was provided when the 50-period SMA broke the 100-period SMA from the bottom, after which the market gained in value.
Keep in mind, however, that all indicators and oscillators often provide false signals and should thus be used with other technical analysis tools. When all the tools you’ve used indicate the same direction for the market, this increases the probability of the success of the trade.