- 1 Moving Averages: Technical Analysis
- 2 Simple Moving Average – SMA
- 3 Exponential Moving Average – EMA
- 4 Calculating SMA & EMA
- 5 Which is better: Simple Moving Average (SMA) or Exponential Moving Average (EMA)?
- 6 How to use Moving Averages in Your Trading Strategy
- 7 What is the Best Period Moving Average Setting?
- 8 Test. Observe. Learn.
What are the Moving Averages? Entering the realm of technical indicators, it’s easy to get lost in the jargon and the countless techniques available. As an introduction, we’re starting with the oldest and most widely used technical indicator. It also just happens to be the simplest – the moving average.
Moving averages are used in all financial markets. From stocks, options, forex, futures, and crypto. They smooth out data to create a single flowing line that reveals predominant trends in the market. They use historical data to show price direction and are therefore considered lagging indicators.
There are two common moving averages. The Simple Moving Average (SMA) and the Exponential Moving Average (EMA). We will examine both then discuss how to best incorporate moving averages into your trading strategy.
Moving Averages: Technical Analysis
Just before we touch on moving averages, we should first explain what we mean by technical analysis and technical indicators.
There are two major schools of market analysis – Technical Analysis and Fundamental Analysis. Technical analysis employs the use of market statistics like volume and price movement to identify market patterns. It is based on the theory that previous price patterns can act as an accurate prediction of future price action. Fundamental analysis, on the other hand, focusses on external factors such as business results, sales, and earnings to predict future price movement.
Traders will use a range of chart analysis tools in their technical analysis. These are tools are named Technical Indicators that are used to analyze trends, volume, the open interest of a stock, and measure volatility, Technical indicators are separated into four main types:
- Trend Following
- Support and Resistance; and
In this article, we are focusing on moving averages both SMA and EMA which are trend-following indicators. This means that they can help identify if the market is moving in an upward trend, downward trend, or in a trading range.
Simple Moving Average – SMA
What is the Simple Moving Average indicator?
Let’s get acquainted with Simple Moving Average. Simple Moving Averages are the most basic form of a moving average. It is quite simply the average price plotted on a price chart. For example, a 20 day SMA is the line constructed from the average of the last 20 days’ closing prices.
By taking the average, the SMA drowns out the noise from price outliers and volatility. This makes it easier to identify if a security is moving in an upward or downward trend.
The SMA applies equal weight to all observations in the time period. So for a 20 day SMA – The 20th day’s data carries the same weight as the first day.
Exponential Moving Average – EMA
What is Exponential Moving Average (EMA) in technical analysis?
The enhanced version of the SMA is the Exponential Moving Average. Unlike the SMA which places equal weight to all values, the Exponential Moving Average assigns greater significance to recent price observations. This allows the Exponential Moving Average to react faster to the latest changes in price data.
For example, if there has been a significant price drop in the last 2 days, an Exponential Moving Average will change direction before an SMA. This reduction in lag allows traders to quickly see if a trend is changing. However, this feature also makes the Exponential Moving Average susceptible to premature price signals.
Calculating SMA & EMA
How do you calculate Simple Moving Average and Exponential Moving Average?
All popular trading platforms and charting interfaces will have tools that allow you to track moving averages. Nevertheless, it’s worthwhile to know how these moving averages are calculated to get a better understanding of how they function.
There are three steps to calculating the EMA.
Step 1 – Compute the SMA
To calculate the Exponential Moving Average, you first need to compute SMA. The EMA needs to start somewhere so the Simple Moving Average value will be used in the first EMA calculation in place of ‘yesterday’s EMA value’. Once you have the first EMA value, you no longer need the SMA.
The SMA uses the basic average calculation. Using the same example as above, a 20 day SMA is the sum of the last 20 day’s closing prices divided by 20.
As new data becomes available old data is replaced. This causes the data to gradually evolve while moving along a time scale.
Step 2 – Calculate the multiplier for weighting the EMA
The formula for calculating EMA uses a weighted multiplier (k). This feature allows EMA to assign more significance to recent data. The weighting applied to the more recent data depends on the number of days in the time period of the exponential moving average.
The formula for the weighted multiplier is:
k = 2 / (N + 1)
where k is the weighted multiplier and N is the number of days in the time period.
When using the formula for k a 20 period EMA will be:
k = 2 / (20 + 1) = 2/21 =9.52%
For smaller time periods the weighted multiplier will be greater as more significance is placed on recent data. This allows the EMA to hug tighter to recent price action and reduce lag.
If we take a look at a 10 day time period k will equal to 18.18%. Effectively double that of the 20 day time period.
Step 3 – Calculate the current EMA using the above formula
To complete the calculation of the EMA you will need today’s close price, the weighted multiplier, and the previous days EMA (or use the SMA if it is the first calculation, as explained in Step 1). Once you have those values, it’s just a matter of popping them into the formula and plotting the values on a chart.
Which is better: Simple Moving Average (SMA) or Exponential Moving Average (EMA)?
The difference between EMA & SMA comes down to speed. Time is of the essence when trading. So, EMA’s ability to react to price change faster makes it the preferred moving average for many intraday traders.
However, the swift nature of EMA is also its main drawback. It makes EMA more vulnerable to false alarms and premature signals. Because of this, it is important to look for further confirmation before entering a trade.
On the other hand, SMA moves at a much slower pace. It provides later signals than EMA but has the benefit of not being as responsive to erratic price movements. This makes it more ideal for many swing or leap traders who want to stay in trades for longer.
Ultimately, the technical indicators you decide to use comes down to your trading style and personal preference. Experiment and try out both and see which one works better for you.
How to use Moving Averages in Your Trading Strategy
Moving averages are useful in confirming market direction and revealing the strength of that direction. When used in conjunction with other indicators they can assist in confirming significant market moves and gauge validity.
The general rule of thumb is that if the price trades above a moving average, there is an uptrend and we should expect higher prices. Conversely, if the price is trading below a moving average, there is a downward trend and we should expect lower prices.
Remember, moving averages are backward-looking and lagging in nature. They are not ideally used to predict future price action or snipe points of entry, alone. The optimal time to enter a trade has long passed before an EMA even shows the new trend on a chart. However, when used along with momentum indicators like MACD, TRIX, PROC you may be able to detect an early change in direction and find entry & exits.
Popular moving average strategies are discussed below:
Support & Resistance
The lines created by SMAs or EMAs can be used to provide levels of support or resistance. Where a stock is moving in an upward trend, the moving average can be used to provide a line of support. In a downward trend, the moving average can be used to provide a line of resistance. These levels can be helpful in guiding your placement stop losses and exit points.
Crossovers – Golden & Death Crosses
The crossover strategy uses two moving averages, one long term, and one shorter. It is perhaps one of the most popular moving average strategies among traders and the concepts are simple and effective.
- Golden Cross – When the shorter-term moving average crosses above the longer-term, this indicates a buy signal or an upward trend.
- Death Cross – When the shorter-term moving average crosses below the longer-term, this indicates a sell signal or a downward trend.
Rather than just use one or two moving averages, traders can use many (eight or more – from 2 day to 400 day period) moving averages on their chart to create a ribbon-like indicator.
The ribbons can be used to identify continuations, turning points, measure the strength of price trends, and to define areas of support and resistance.
Ribbons twist and flow across a price chart, making it easy to spot where the different moving average lines converge. Similar to the crossover strategy, it is these converging points that traders look to for confirmation of new trends. Where shorter-term moving averages cross above longer-term moving averages, this is a sign of an uptrend. Where shorter-term moving averages cross below longer-term moving averages, this is a sign of a downtrend and an indication to sell.
Moving Averages are not suited for Trading Ranges
Moving averages have a tendency not to work well in trading ranges. Where a stock is bouncing back and forth between two prices, the moving average will be somewhere in the middle. Effectively losing its ability to act as levels of support or resistance.
Also, if you are using the crossover method, you’ll notice that there will be too many crossovers rendering the lines basically useless. Moving averages are designed to work in strong sustained trending markets, not trading ranges. As soon as the price swings back into a trend, the SMAs and EMAs are back in their prime element.
What is the Best Period Moving Average Setting?
Well, the answer to this depends on your trading style. Short-term traders need a moving average that reacts to price changes immediately. That’s why scalpers prefer EMAs in the first place. Longer-term traders require a different approach as they typically hold their trades for days, months or years.
Both SMAs & EMAs can be catered to your trading style by using a variety of chart settings and time intervals. Instead of tracking the closing price, you can also choose to track the open, high, low, or median price. Instead of day intervals, you can choose to look at hours, minutes, etc. The choice is yours. However, keep in mind that moving average strategies tend to work because they are followed by a legion of traders, who then act on their signals. Kind of like a self-fulfilling prophecy, if you will. Because of this, it’s best to stick to the most popular variations outlined below.
- 9/10 day period: Short-term, extremely fast-moving. Shows current market momentum.
- 20/21 day period: A medium-term, good balance between fast-moving while offering less false signals. Use for riding trends.
- 50 day period: Long-term slower-moving but much less prone to false signals. Good for identifying long term direction.
- Crossover 12 & 26 period – The most popular setting for short-term trading. Most quoted & analyzed short term average. Used to create indicators like MACD & PPO.
- Crossover 8 & 34 period – Popular short term setting for traders who prefer to use Fibonacci numbers.
- 21 period: Good for short-term swing trading. Good balance between hugging price while also signaling trend shifts.
- 50 period: arguably most popular for standard swing trading. Balanced between short and long-term directional trends.
- 100 period: Good to use for support and resistance lines on a daily or weekly time frame.
- 200/250 period: 250 trading days in a year – Using 200 or 250 periods on a daily chart is very popular as it shows the overall trend for the last year. When stock price crosses its 200 day ema, it is a technical signal that a reversal has occurred.
- Crossover 50 & 200 EMAs – most used crossover period for long term swing trading or long term investors
Test. Observe. Learn.
There are so many technical indicators available, it’s hard to know where to start. When it comes to choosing the right indicators to build your trading strategy, it all comes down to experimenting.
You need to put in the time to experiment, test, backtest, observe and learn. You might find that an EMA 12/26 day crossover strategy compliments your trading style. Or that a ribbon setup is just too busy and chaotic to look at on your charts. You might notice that some securities are better analyzed with different EMA or SMA setups. You may reject moving averages all together as their lagging nature means they are always a step behind. That’s ok, there are no hard and fast rules. When it comes to developing your personal trading strategy it all comes down to your preference and what works for you.
Nevertheless, if you want to be a consistently successful trader, you need to build a solid foundation of how the markets work. Understanding technical analysis and popular indicators is a crucial part of your training. Moving averages are used in some form by a majority of traders. Having the knowledge of what they do and how they work can give you a deeper insight into how the market will react to price changes. Will the buyers step up? How will the sellers respond? By observing the market and understanding the tools that affect other trader’s decisions, you are in a better position to inform your next moves in the market.
How Echelon 1 can help.
If you’re new to options trading and want to learn how to navigate the markets with confidence, come join the Echelon 1 community and be part of a thriving network of traders, analysts, and investors. Learn the fundamentals, receive mentorship from seasoned professionals and have access to real-time analysis and member-only plays, so you can capitalize on the biggest moves in the market.
Welcome to the Echelon 1 community and take the guesswork out of your trading.