Moving Average (2024)

A technical indicator that analysts use to determine the direction of a trend and reduce the impact of unexpected price spikes

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 a Moving Average?

A moving average is a technical indicator that market analysts and investors may use to determine the direction of a trend. It sums up the data points of a financial security over a specific time period and divides the total by the number of data points to arrive at an average. It is called a “moving” average because it is continually recalculated based on the latest price data.

Moving Average (1)

Analysts use the moving average to examine support and resistance by evaluating the movements of an asset’s price. A moving average reflects the previous price action/movement of a security.

Analysts or investors then use the information to determine the potential direction of the asset price. It is known as a lagging indicator because it trails the price action of the underlying asset to produce a signal or show the direction of a given trend.

Key Highlights

  • A moving average is a technical indicator that investors and traders use to determine the trend direction of securities.
  • It is calculated by adding up all the data points during a specific period and dividing the sum by the number of time periods.
  • Moving averages help technical traders to generate trading signals.

Types of Moving Averages

The following are the two basic forms of moving averages:

1. Simple Moving Average (SMA)

The simple moving average (SMA) is a straightforward technical indicator that is obtained by summing the recent data points in a given set and dividing the total by the number of time periods. Traders use the SMA indicator to generate signals on when to enter or exit a market. An SMA is backward-looking, as it relies on the past price data for a given period. It can be computed for different types of prices, i.e., high, low, open, and close.

In financial markets, analysts and investors use the SMA indicator to determine buy and sell signals for securities. The SMA helps to identify support and resistance prices to obtain signals on where to enter or exit a trade.

When generating the SMA, traders must first calculate this average by adding prices over a given period and dividing the total by the total number of periods. The information is then plotted on a graph.

The formula for Simple Moving Average is written as follows:

SMA = (A1 + A2 + ……….An) / n

Where:

  • A is the average in period n
  • n is the number of periods

Example of a Simple Moving Average

John, a stock trader, wants to calculate the simple moving average for Stock ABC by looking at the closing prices of the stock for the last five days. The closing prices for Stock ABC for the last five days are as follows: $23, $23.40, $23.20, $24, and $25.50. The SMA is then calculated as follows:

SMA = ($23 + $23.40 + $23.20 + $24 + $25.50) / 5

SMA = $23.82

2. Exponential Moving Average (EMA)

The other type of moving average is the exponential moving average (EMA), which gives more weight to the most recent price points to make it more responsive to recent data points. An exponential moving average tends to be more responsive to recent price changes, as compared to the simple moving average, which applies equal weight to all price changes in the given period.

When calculating the exponential moving average, the following three steps are used:

1. Calculate the simple moving average for the period

The EMA needs to start somewhere, and the simple moving average is used as the previous period’s EMA. It is obtained by taking the sum of the security’s closing prices for the period in question and dividing the total by the number of periods.

2. Calculate the multiplier for weighting the exponential moving average

The formula for calculating the multiplier is as follows:

Multiplier = [2 / (Selected Time Period + 1)]

For example, if the time period in question is 10, the multiplier will be calculated as follows:

Multiplier = [2 / (10+1)] = 0.1818

3. The last step is to calculate the current exponential moving average

The last step calculates the current EMA by taking the period from the initial EMA until the most recent time period, using the price, multiplier, and the previous period’s EMA value. It is computed using the following formula:

Current EMA = [Closing Price – EMA (Previous Time Period)] x Multiplier + EMA (Previous Time Period)

The weighting given to recent price data is higher for a shorter-period EMA than a longer-period EMA. A multiplier of 18.18% is applied to the recent price points of a 10-period EMA, whereas a 9.52% multiplier is applied to the recent price points of a 20-period EMA.

Download Free Template – Moving Average Examples

Exponential Moving Average vs. Simple Moving Average

The main difference between the two technical indicators is the sensitivity that they place on price changes. The exponential moving average tends to show more sensitivity to recent price point changes. This makes the EMA more responsive to the latest price changes.

The formula for calculating the EMA tends to be complicated, but most charting tools make it easy for traders to follow an EMA. In contrast, the SMA applies equal weighting to all observations in the data set. It is easy to calculate, being obtained by taking the arithmetic mean of prices during the time period in question.

Video Explanation of Moving Averages

Learn more about moving averages in the short video tutorial below and how to use them in technical analysis effectively.

More Resources

Thank you for reading CFI’s guide to Moving Average. To keep learning and advancing your career, the following CFI resources will be helpful:

Moving Average (2024)

FAQs

What should I set my moving average to? ›

Typical settings for moving averages:
  • Long-term trend: 200 days (200 being roughly the number of trading days in a year)
  • Medium-term trend: 50 days (50 being roughly 2 months of trading)
  • Short-term trend: 9, 10 and 20 days.

How do you solve for moving average? ›

The formula for calculating Moving Average (MA) is: MA = (Sum of price values for n periods) / n. Here, 'n' represents the number of periods, and the sum of price values for these periods is divided by 'n' to give the Moving Average value.

What are the 4 moving average strategies? ›

Different types of moving averages include Simple Moving Average (SMA), Exponential Moving Average (EMA), and Weighted Moving Average (WMA). The key moving average trading strategies are crossover, envelope and ribbon.

What is the most respected moving average? ›

The 200-day moving average is widely used by professional traders and investors. It can serve as a benchmark when comparing another moving average, such as the 50-day moving average, to it. If the 50-day moving average is above the 200-day moving average, the stock is considered to be in a bullish position.

What is the golden cross moving average? ›

What is a Golden Cross? A Golden Cross is a basic technical indicator that occurs in the market when a short-term moving average (50-day) of an asset rises above a long-term moving average (200-day). When traders see a Golden Cross occur, they view this chart pattern as indicative of a strong bull market.

What is the best moving average for beginners? ›

For short-term trades the 5, 10, and 20 period moving averages are best, while longer-term trading makes best use of the 50, 100, and 200 period moving averages.

How do I choose a moving average? ›

Use a moving average that is roughly half the length of the cycle that you are tracking. If the peak-to-peak cycle length is roughly 250 days (1 year) then a 125 day moving average is appropriate. Cycle lengths do vary so you will probably be left with a choice of several different time periods.

Is moving average a good indicator? ›

While moving averages are powerful tools, they're not without their limitations. Here are some drawbacks to be aware of: Lag: Moving averages are lagging indicators, meaning they're based on past price data. This can sometimes result in late signals, especially in fast-moving markets.

How do you do a simple moving average? ›

The SMA formula is calculated by averaging a number of past data points. Past closing prices are most often used as data points. For example, to calculate a security's 20-day SMA, the closing prices of the past 20 days would be added up, and then divided by 20.

When to buy and sell using moving averages? ›

When the price comes down to the moving average and then rallies up again, this “bounce” could be used as a buy signal. On the flip side, moving averages can also help investors know when to sell a position. For example, if the stock's price rises to the moving average and bounces, this might be a sell signal.

What is the most profitable moving average crossover? ›

Among short- and long-term EMAs, they discovered that trading the crossovers of the 13-day and 48.5-day averages produced the largest returns. Buying the average 13/48.5-day “golden cross” produced an average 94-day 4.90 percent gain, better returns than any other combination.

What is the best moving average setting for a 5 min chart? ›

For example, a 10 and 20-period simple moving average (SMA) would be the best option for intraday trading off 1-min charts. While the combination of 12 & 24 SMAs and 5, 8 & 13 SMAs fit the 5-min chart.

What is the formula for moving average? ›

To calculate a simple moving average, the sum of the prices within a time period is divided by the number of prices.

What is a better alternative to moving average? ›

The EMA and WMA are used for similar purposes since they rely more on the most recent prices. Traders will use EMAs or WMAs over the SMA when concerned that lags in the data might lower the responsiveness of the moving average indicator.

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 9 and 21 EMA strategy? ›

The Role of 9 and 21 EMA in Day Trading

The 9 EMA represents the average price over the previous 9 periods, while the 21 EMA calculates the average over the past 21 periods. These particular settings hold value because they excel at identifying short-term price trends and potential reversal points.

How do you decide buy or sell on moving average? ›

When the price comes down to the moving average and then rallies up again, this “bounce” could be used as a buy signal. On the flip side, moving averages can also help investors know when to sell a position.

Is the 20 moving average good? ›

The simple answer is yes! Many traders focus on the 5 and the 10-period MA, but the 20 brings a unique element to analyzing the market. The 20-period moving average allows you to stay pinpoint the primary trend.

Top Articles
California Alternate Assessments
Home Page | Beekin
Nullreferenceexception 7 Days To Die
The Blackening Showtimes Near Century Aurora And Xd
Victor Spizzirri Linkedin
Crossed Eyes (Strabismus): Symptoms, Causes, and Diagnosis
A Complete Guide To Major Scales
How to Type German letters ä, ö, ü and the ß on your Keyboard
Owatc Canvas
Select The Best Reagents For The Reaction Below.
Gameday Red Sox
Wal-Mart 140 Supercenter Products
Aquatic Pets And Reptiles Photos
Power Outage Map Albany Ny
Babyrainbow Private
FAQ: Pressure-Treated Wood
Are They Not Beautiful Wowhead
Craigslist Free Stuff Greensboro Nc
Jinx Chapter 24: Release Date, Spoilers & Where To Read - OtakuKart
Craigslist Sparta Nj
10 Fun Things to Do in Elk Grove, CA | Explore Elk Grove
Busted Campbell County
Gazette Obituary Colorado Springs
At 25 Years, Understanding The Longevity Of Craigslist
27 Fantastic Things to do in Lynchburg, Virginia - Happy To Be Virginia
Neteller Kasiinod
Ryujinx Firmware 15
Brenda Song Wikifeet
Basil Martusevich
Plato's Closet Mansfield Ohio
Kvoa Tv Schedule
Craigslist Mount Pocono
Arcadia Lesson Plan | Day 4: Crossword Puzzle | GradeSaver
8 Ball Pool Unblocked Cool Math Games
Restored Republic May 14 2023
F9 2385
60 X 60 Christmas Tablecloths
Reese Witherspoon Wiki
13 Fun & Best Things to Do in Hurricane, Utah
Chase Bank Zip Code
Love Words Starting with P (With Definition)
Cvs Coit And Alpha
Xre 00251
Samsung 9C8
Waco.craigslist
Grace Family Church Land O Lakes
Oak Hill, Blue Owl Lead Record Finastra Private Credit Loan
Diccionario De Los Sueños Misabueso
O'reilly's On Marbach
99 Fishing Guide
ats: MODIFIED PETERBILT 389 [1.31.X] v update auf 1.48 Trucks Mod für American Truck Simulator
La Fitness Oxford Valley Class Schedule
Latest Posts
Article information

Author: Carlyn Walter

Last Updated:

Views: 6277

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.