Simple Moving Average (SMA) (2024)

A stock's average closing price over a specified period

Written byCFI Team

Over 2 million + professionals use CFI to learn accounting, financial analysis, modeling and more. Unlock the essentials of corporate finance with our free resources and get an exclusive sneak peek at the first module of each course. Start Free

What is Simple Moving Average (SMA)?

Simple Moving Average (SMA) refers to a stock’s average closing price over a specified period. The reason the average is called “moving” is that the stock price constantly changes, so the moving average changes accordingly. SMA is one of the core indicators in technical analysis and is usually the easiest moving average to construct.

Simple Moving Average(SMA) (1)

The aim of all moving averages is to establish the direction in which the price of a security is moving based on previous prices. Since SMA is constructed using past closing prices, it is a lag indicator. It means that it simply displays a previous trend, but it is not predictive of future prices.

SMA is often compared to EMA, which is the exponential moving average. The difference is that EMA places greater emphasis on recent prices, while SMA places equal weight on all data points. It usually results in the SMA line being much smoother.

Moving Averages Excel Model

Download our free Moving Averages Excel template, and start modeling today!

Understanding Simple Moving Average

Simple Moving Average(SMA) (2)

The chart above shows how the price of Amazon’s stock (NASDAQ: AMZN) changed over a 1-year period using a 50-day SMA. The 50-day SMA is represented using the purple line, which indicates the overall trend of how the price is moving. As described above, since SMA is an average of the prices over a specified time period, it does not react as drastically as the actual prices.

The concept can be observed during the February 2020 earnings announcements. Even though Amazon reported amazing earnings that hiked its stock price to open at around $2,000, the SMA still stayed relatively similar and only increased by a little bit.

Simple Moving Average(SMA) (3)

Above, a 10-day SMA was used. Since the SMA line was only calculated based on the previous 10 days’ stock price, the line follows price changes a lot more than the 50-day SMA shown in the previous chart.

Simple Moving Average(SMA) (4)

Above, a 200-day SMA was used. Since the line represents an average of the previous 200 days’ closing prices, the line is a lot smoother and is not easily influenced by price fluctuations.

Calculating the Simple Moving Average

The equation for SMA is quite simple. It is just the average closing price of a security over the last “n” periods.

Simple Moving Average(SMA) (5)

Let us give a quick and easy example. Suppose Company A posted the following closing stock prices:

Day (n)Prices (P)
1$10
2$12
3$9
4$10
5$15
6$13
7$18
8$18
9$20
10$24

Using a 5-day SMA, we can calculate that at Day 10 (n=10), the 5-day SMA is $18.60.

SMA = (13 + 18 + 18 + 20 + 24) / 5 = 18.60

Using a 10-day SMA, we can calculate that at Day 10 (n=10), the 10-day SMA is $14.90.

SMA = (10 + 12 + 9 + 10 + 15 + 13 + 18 + 18 + 20 + 24) / 10 = 14.90

Compared with Day 10’s closing price of $24, the 5-day SMA of $18.60 was a lot closer than the 10-day SMA of $14.90. It is once again because the 5-day SMA is a shorter period, which follows the price more closely, whereas the 10-day SMA considers more historical data.

Trading Strategies Using Simple Moving Average

1. Buying and selling on SMA intersections

Technical traders often use SMAs to time their buy and sell trades. They perform their analysis by looking at when the stock price line intersects the SMA line. To understand it better, let us look at the Amazon example again with the 10-day SMA line.

Simple Moving Average(SMA) (6)

Looking at the graph above, we can see that when the price surpasses the SMA line, the prices often trend upward for some time. It is often used as a buy indicator for technical traders. However, when the price intersects and falls below the SMA line, we see a downtrend in prices for a bit as well. It may sometimes be a good indicator to sell.

However, investors must be careful when trying to time the intersections, as the SMA is based on historical information and lags behind real-time data.

2. SMA crossover strategy

SMA crossover strategy is another technical strategy used for entering and closing trades. The strategy is done by plotting two SMA lines based on two different time frames. Looking at when the lines cross over, it helps certain traders time their trades. The most popular moving averages for longer-term investors are the 50-day and 200-day SMAs. For shorter-term investors, the 10-day and 20-day SMAs are often used as well.

Simple Moving Average(SMA) (7)

Above, we are looking at Amazon again with 10-day (purple) and 20-day (green) SMA lines. When the 10-day line first crossed above the 20-day line, an investor who bought the stock would ideally capitalize on a two-month upward trend. If the investor sold it right when the 10-day line crossed under the 20-day line, they would’ve exited their position before a couple of months of an overall downtrend.

Additional Resources

  • Kaufman Adaptive Moving Average (KAMA)
  • Kairi Relative Index (KRI)
  • How To Read Stock Charts
  • See all equities resources
Simple Moving Average (SMA) (2024)

FAQs

What is the SMA in simple moving averages? ›

Simple Moving Average (SMA) refers to a stock's average closing price over a specified period. The reason the average is called “moving” is that the stock price constantly changes, so the moving average changes accordingly.

How to use SMA as an indicator? ›

The basic rule for trading with the SMA is that a security trading above its SMA is in an uptrend, while a security trading below its SMA is in a downtrend. For example, a security trading above its 20-day SMA is thought to be in a short-term uptrend.

Do day traders use EMA or SMA? ›

For intraday trading, traders may prefer to use the Exponential Moving Average (EMA) as it lags less than the SMA and is more responsive to recent price action over shorter periods of time.

What is the 5 SMA strategy? ›

The strategy uses a 5 period simple moving average (SMA) to determine trend and a 5 period relative strength index (RSI) to confirm signals. It outlines the rules for buying - when price closes above the 5 SMA and RSI is above 50, and selling - when price closes below the 5 SMA and RSI is below 50.

What is a good SMA? ›

A 200-bar SMA is common proxy for the long term trend. 50-bar SMAs are typically used to gauge the intermediate trend. Shorter period SMAs can be used to determine shorter term trends. SMAs are commonly used to smooth price data and technical indicators.

Which SMA is best for swing trading? ›

50 period: The 50 moving average is the standard swing-trading moving average and is very popular. Most traders use it to ride trends because it's the ideal compromise between too short and too long term.

What is the best SMA length for day trading? ›

A good moving average period varies by strategy and market; however, the 10, 20, 50, and 200-period moving averages are popular choices among day traders for their ability to highlight short-term trends and longer-term directions.

Which is more accurate, SMA or EMA? ›

With moving averages in general, the longer the time period, the slower it is to react to price movement. But everything else being equal, an EMA will track price more closely than an SMA. Because of this, the EMA is typically considered more appropriate in short-term trading.

What is 5-8-13 EMA strategy? ›

How Does the 5-8-13 EMA Crossover Work? The crossover detects momentum shifts, which can hint at significant price moves in the near term. When the 5-EMA crosses above the 8 and 13 EMAs, it suggests a rising bullish momentum. When the opposite happens, it indicates bearish momentum.

What is the 5 5 5 strategy? ›

Here's a great way to create a “5-5-5” weekly strategy. Start with 5 names of existing LinkedIn connections and contact them to check in on a topic unrelated to your business. Offer congratulations on new role at a company, a job change, or a work anniversary, or comment on some of their recent LinkedIn posts.

Why do investors use SMA? ›

The benefits of investing in an SMA include personalized portfolio management, greater transparency, direct ownership of assets, potential tax efficiency, and the ability to exclude certain investments based on personal preferences or ethical considerations.

What is the 20 SMA strategy? ›

This system uses a 20 period simple moving average (20 SMA) to generate trading signals. It provides rules for entering long positions when the price closes above the 20 SMA and entering short positions when the price closes below.

How do you calculate the SMA? ›

A simple moving average (SMA) is an arithmetic moving average calculated by adding recent prices and then dividing that figure by the number of time periods in the calculation average.

What is SMA formula? ›

SMA High Energy® is a milk based formula for the dietary management of babies and young children with medically determined high energy requirements as identified by a healthcare professional. It is suitable as the sole source of nutrition up to 6 months of age, and in conjunction with solid food up to 18 months of age.

What does SMA stand for? ›

Spinal muscular atrophy (SMA) is a genetic condition that causes muscle weakness and atrophy (when muscles get smaller). SMA can affect a child's ability to crawl, walk, sit up, and control head movements. Severe SMA can damage the muscles used for breathing and swallowing. There are five types of SMA.

What is the difference SMA and EMA? ›

Description. Exponential Moving Average (EMA) is similar to Simple Moving Average (SMA), measuring trend direction over a period of time. However, whereas SMA simply calculates an average of price data, EMA applies more weight to data that is more current.

Top Articles
Guide to tax IDs in Spain
How Darknet Markets Fought for Users After Hydra’s Collapse
Sandrail Options and Accessories
The Daily News Leader from Staunton, Virginia
25X11X10 Atv Tires Tractor Supply
Prosper TX Visitors Guide - Dallas Fort Worth Guide
Grange Display Calculator
Optimal Perks Rs3
Atrium Shift Select
Jet Ski Rental Conneaut Lake Pa
Power Outage Map Albany Ny
Bc Hyundai Tupelo Ms
Directions To O'reilly's Near Me
O'reilly's Auto Parts Closest To My Location
Price Of Gas At Sam's
Idaho Harvest Statistics
Inside the life of 17-year-old Charli D'Amelio, the most popular TikTok star in the world who now has her own TV show and clothing line
3S Bivy Cover 2D Gen
Wsop Hunters Club
Riherds Ky Scoreboard
Titanic Soap2Day
Aspenx2 Newburyport
Delectable Birthday Dyes
Tokyo Spa Memphis Reviews
1773x / >
Movies - EPIC Theatres
Taylored Services Hardeeville Sc
Christmas Days Away
Egg Crutch Glove Envelope
Craigslist Maryland Baltimore
The Venus Flytrap: A Complete Care Guide
Tra.mypatients Folio
Gyeon Jahee
No Hard Feelings Showtimes Near Tilton Square Theatre
New York Rangers Hfboards
Go Upstate Mugshots Gaffney Sc
Ticketmaster Lion King Chicago
Convenient Care Palmer Ma
Me Tv Quizzes
Hazel Moore Boobpedia
13 Fun & Best Things to Do in Hurricane, Utah
Craigslist Central Il
Silicone Spray Advance Auto
Brother Bear Tattoo Ideas
Iman Fashion Clearance
Strange World Showtimes Near Marcus La Crosse Cinema
Online TikTok Voice Generator | Accurate & Realistic
300 Fort Monroe Industrial Parkway Monroeville Oh
Ssss Steakhouse Menu
Heisenberg Breaking Bad Wiki
Latest Posts
Article information

Author: Frankie Dare

Last Updated:

Views: 5912

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.