Moving Average: Lots of Signals
Moving Average: How to Determine
The moving average is a trend indicator that is represented by one line. It's located on the price chart, not in the separate window, like many other indicators. The primary function is to determine the direction of the trend. At the same time, the tool can be used to place support and resistance levels. Although the moving average is a one-line indicator, to get signals, traders use at least two lines with different periods.
Moving Averages: Types
There are four types of this indicator. They differ depending on what they are used for.
Simple (SMA)
It's the most used type of moving average indicators. Simple moving average reflects the average of the close prices regarding the period you choose. It means that the prices used for the calculation are equal in their meaning for the indicator’s calculation.
For instance, we implement a 200-day MA. To calculate the Simple MA, we need to add the values of 200 prices and divide the result by 200.
Exponential (EMA) and Linear Weighted
Although it's two separate types, we combined them as they are almost identical. These types put weight on the latest prices, adding a higher coefficient in the calculation.
Such a particular calculation helps the MA to resemble the price movements more accurately. Moreover, the signals appear faster. Here you should be picky and choose the right signs. Later, we will explain how to combine the MA indicator with other technical tools to get useful alerts.
Smoothed
Smoothed MA is the most effective when defining a trend as it smooths the fluctuation of the price the most. This type is based on the Simple moving average.
Moving Average Indicator in MetaTrader
As the moving average is one of the leading technical tools, it's a standard indicator implemented in MetaTrader. To apply it to your chart, you need to click "Insert", then "Indicators". After that, find "Trend" indicators, and choose the necessary instrument.
After you click on the indicator, a setting window will appear. Here you can choose the type of moving average, period, price, and shift.
Period
A period refers to the number of candles that will be used to calculate the moving average. The period determines the number of signals you will get. A more significant period will smooth the market movements, so there will be fewer signals. It can prevent you from the wrong entry and exit points. At the same time, if you trade on a small timeframe, there are risks you will miss a good alert.
Contrary, a shorter period increases the number of signals. However, there are risks of fake signals. So, confirmation is necessary.
Usually, investors use 50, 100, 200 periods when trading on high timeframes and 9, 12, 26 periods on low timeframes.
- 200-period MA
- 50-period MA
- 20-period MA
- 10-period MA
Use a more considerable period of moving average on higher timeframes (from H4). Set a smaller period of moving average on lower timeframes (up to H1).
Price
As for prices, you can choose from open, close, low, high, median, typical, and weighed close. Still, most of the traders apply the close price setting.
Shift
Shift allows traders to move the moving average back or forth. This setting can be applied to a specific trading strategy. However, investors usually don't change the shift.
Moving Average: Calculation
Although moving averages are implemented on the chart automatically regardless of the trading platform, you should know how to calculate this tool to understand how it works. There are four types of moving average. However, we will consider a calculation of only two of them – Simple MA and Exponential MA.
There are different approaches to the calculation of MA regarding their types.
Simple MA
Simple MA has the easiest formula among the calculation of other indicators. The name of the indicator provides hints on how to count the tool. We just need to find the average of a certain number of prices.
Let's imagine we have a 9-day MA. Previously, we explained that the standard setting for the MA price is the close price. It means we should find the meaning of the last nine daily prices. After that, we get the sum and delete the result by 9. The new price will be added to the calculation every day, so the last one will change as well. For instance, imagine the prices are 1, 2, 3, 4, 5, 6, 7, 8, 9. According to the formula, the SMA will be 5. The next day the price is 10. But we won’t count the price of 1 anymore. So, the SMA will be 6.
The moving average formula is simple: SMA= (p1 + p2 + p3+ p4+...) / n
Where:
p - a close price of the chosen period
n - number of time periods
Exponential MA
When talking about the EMA's features, we mentioned that this MA adds weight to the last counted price. That's why, for the calculation, we will need to add a coefficient or a multiplier.
First, we need to calculate the multiplier. For that, we need to sum the period of MA and 1. Then, divide two by the result of the previous action. For instance, the period is 9, then the multiplier is 0.5 as 2 / (9+1) = 0.2.
Now, we are ready to calculate the EMA. We need to multiply the closing price by the coefficient. Then multiply the EMA of the previous day by the result of subtraction of the coefficient from 1. The last step is to get the sum of both results.
EMA = close price x coefficient + EMA (previous day) x (1-coefficient)
SMA and EMA
Since we highlighted the calculation of SMA and EMA, we should mark the similarities and differences between them.
Similarities |
Differences |
Both lines are used for building other indicators like MACD, Bollinger Bands, etc. |
The main difference is that the EMA makes the last prices the most important for the calculation. This means it is more sensitive and has fewer lags. |
No matter if you use SMA or EMA, the settings you can apply to the lines are similar. |
SMA can be more useful for defining support and resistance levels. |
The best idea is to apply both lines on one chart with the same settings and compare their signals. The one you choose for your trading strategy will depend on your aims.
How to Use Moving Averages
The moving average is a trend indicator. Thus, it provides signals for the trend reversal. Finding them, you can define the perfect entry and exit points. There are two famous terms. These are the Golden Cross and Dead Cross.
Although moving average is represented by a single line, to get a signal, you need to combine at least two lines with different periods.
Usually, investors use three moving averages. Still, they are not random. There are particular sets of periods—for instance, 9-12-26, 50-100-200.
Moving averages are mostly used to define the trend direction and support/resistance levels.
Trend
Let’s start with the primary function.
- Golden Cross. Here we need two moving averages with different periods. When the MA with a smaller period crosses the MA with a more significant period bottom-up, it's a buy signal.
- Dead Cross. Inversely, if the MA with a smaller period breaks below the MA with a more significant period, it's a sell signal.
It's also possible to define the direction of the trend following the MA. If the MA moves up, it's a bullish trend. In the case of the bearish trend, the MA declines.
Support and Resistance levels
Moving averages can serve as support and resistance levels. The strength of this signal will depend on the period of the MA. The bigger the period is, the more robust support/resistance you have. A timeframe is also crucial. The higher the timeframe is, the stronger the MA will be.
The rule is simple: the price is supposed to reverse near the moving average. If we compare the 100-day moving average and 100-hour moving average, the price will more likely consolidate near the 100-day MA.
Why to Use Moving Average
The moving average can be called the simplest indicator. Its signals are clear and frequently appear on the chart. The trend indicators are used by traders the most. The trend is one of the essential tools that help investors build a strong strategy.
MA and Other Indicators
At the beginning of the article, we mentioned that the MA is also a part of other indicators. The most famous are MACD (Moving Average Convergence Divergence), Alligator, Ichimoku Kinko Hyo, and Bollinger Bands.
Combine signals that the moving average provides with signs of other indicators. But you better not use moving averages with the indicators that contain them.
It's also crucial to combine signals that the moving average provides with signs of other indicators. We wouldn't recommend using moving average with the indicators that contain it. So, you can place oscillators together with MA. For instance, RSI and Awesome Oscillator that give signals on the price reversal. Also, it would be useful to find candlestick patterns that alert a price turn or trend continuation.
Moving Average: Advantages and Disadvantages
Everyone knows that moving average is a simple and effective indicator. Still, it has limitations.
Benefits |
Limitations |
Simple. The moving average is an easy indicator. No matter if you are a beginner or a professional, you can apply it to the chart. |
Fake signals. Like any other indicator, MA may provide fake alerts if you use a wrong period. Thus, you should look for confirmation. |
Effective. MA tool provides many signals. It is represented by several types that allow you to find a perfect setting for you. Moreover, it is included in the calculation of many indicators. |
Delayed signals. As the moving average uses the previous prices in the calculation, it submits delayed signals. |
Any timeframe. This indicator can be applied to any timeframe as it has many settings. You can build a perfect MA for your timeframe. |
Many settings. If you are a newbie, it may seem complicated to remember all the settings you should apply to one indicator. However, there are standard sets that ease a traders' life. |
Any asset. A great feature of the MA tool is that it can predict the price direction of any asset, no matter if you trade currencies, stocks, bonds, cryptocurrencies, etc. |
Particular conditions. Although the indicator provides many signals, it works well only in strong trends. When the market consolidates, you will barely find a useful sign. |
Tips for Traders
The MA indicator is an easy technical tool. Still, traders make mistakes when applying it to the chart. Let’s consider the most frequent mistakes:
- Don't combine moving average signals with the alerts of the indicators that are built on MA.
- The primary function of the MA is to define the trend. So, you can find not only the trend direction but entry and exit points on a trend reversal. Combine moving averages with other indicators and chart patterns to get a confirmation.
- Keep in mind that the shorter the moving average's period, the more often it will generate trading signals, but they will be less reliable. The longer the moving average's period, the more reliable the signs will be, but they will lag more and appear less frequently.
MA Effective Strategies
Above we mentioned several ways to find signals of the moving average tool. Additionally, we would like to share several effective trading strategies to help you if you still don't have your own.
SMA Strategy
We will start with the strategy based on the Simple moving average. Previously, we were told that investors usually use at least two moving averages to predict a price direction. In our strategies, we will also use two MAs.
- Step 1. Pick the security you want to trade. We will use longer-term moving averages. That's why it's important to choose big timeframes. We will take a daily chart of the EUR/USD pair.
- Step 2. Find a cross. In our example, we have a bullish cross or Golden Cross. A 100-day MA crossed the 200-day SMA to the upside.
- Step 3. Find confirmation. We took the RSI oscillator, which provides a signal of the trend reversal and continuation. Simultaneously, when there was a MA cross, the RSI broke above the 70 level. Although it's a sign of a possible market reversal downward, it's also an alert of the strong uptrend. Open a buy position at the cross.
- Step 4. Place a Stop Loss order to limit the possibility of losses. The Stop Loss can be placed 5-10 pips below the previous support level.
- Step 5. Take Profit when the RSI indicator falls below the 70 level. It's a signal of the possible trend turn. It’s better if the MAs cross each other as well.
The same strategy can be implemented on a sell trade, but all the steps should be done inversely.
EMA Strategy
Here is the strategy that works well when using an exponential moving average.
- Step 1. Choose an asset you want to trade and place it in the H4 chart. We want to trade the EUR/USD pair.
- Step 2. Place 20- and 50-period EMA. We will use two lines to find a crossover that will define the perfect entry point.
- Step 3. On the price chart, we have a bullish trend. Thus, we need to wait until the price is traded above both moving averages, and a faster MA crosses the slower one bottom-up.
- Step 4. It seems we can open a buy position as the cross happens. However, you should always be careful. As we don't know whether the trend is reliable, we should find confirmation.
- Step 5. Open a buy position as soon as the price tests the zone between the lines for the third time.
- Step 6. It's time to limit your risks. Place a Stop Loss order 20 pips below the slower (50-period) EMA.
- Step 7. The most exciting part of the strategy is a Take Profit order. It's time to close the trade as soon as the price falls below the 50-period EMA and closes there.
The confirmation can be received via other indicators or price movements. In this strategy, to be sure the trend is strong, we need to wait for at least two retests of the lines. If the price doesn't break below 20- and 50-period moving averages and stays between the lines, we can be sure the bullish trend is strong.
You can use the same strategy for the sell positions, but all the steps should be applied inversely.
Conclusion
To conclude, the moving average is one of the leading technical tools. Even beginner investors use this indicator widely because its signals are clear, and usage is simple.
However, like any other instrument, it has pitfalls. The most critical limitation is delayed signals, as the indicator is based on the previous prices. Thus, it's crucial to confirm signals via additional tools and patterns.
If you don't have enough skills, we recommend using a Libertex demo account. It includes all the indicators you can apply in the real account. But it prevents you from money loss.
Why to trade with Libertex?
- access to a demo account free of charge
- technical assistance to the operator 5 days a week, from 8 a.m. till 8 p.m. (Central European Standard Time)
- leverage of up to 1:600 for professional сlients
- operate on a platform for any device: Libertex and Metatrader
FAQ
If you still have questions, read the answers to the most frequently asked ones.
How Do You Calculate Moving Average?
The calculation differs for a simple moving average and an exponential one. For a Simple MA, find an average of the close prices for a certain period. To get an EMA meaning, find a coefficient.
Which Moving Average Is the Best?
The type of moving average and its effectiveness depend only on your aims and trading strategy.
Why Is Moving Average Important?
First, it is included in other indicators. Second, it's one of the simplest and most effective technical tools that provide many signals.
How Do You Calculate a 7-day Moving Average?
When we talk about the Simple moving average, you need to summarize the previous seven days' close prices and divide the result by 7.