ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://corporatefinanceinstitute.com/resources/equities/moving-average/ |
| Last Crawled | 2026-04-10 22:22:14 (1 day ago) |
| First Indexed | 2024-04-23 02:21:54 (1 year ago) |
| HTTP Status Code | 200 |
| Meta Title | Moving Average - Overview, Types and Examples, EMA vs SMA |
| Meta Description | 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 |
| Meta Canonical | null |
| Boilerpipe Text | A technical indicator that analysts use to determine the direction of a trend and reduce the impact of unexpected price spikes
Published
April 19, 2020
Read Time
4
minutes
Over 2.8 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.
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 = (A
1
+ A
2
+ ……….A
n
) / 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.
https://corporatefinanceinstitute.com/assets/Moving-Averages.mp4
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:
How To Read Stock Charts
Keltner Channel
MACD Oscillator
Momentum Investing
Technical Analysis – A Beginner’s Guide
See all capital markets resources
See all equities resources |
| Markdown | [Corporate Finance Institute](https://corporatefinanceinstitute.com/)
Menu
- [Certifications](https://corporatefinanceinstitute.com/certifications/)
- [Courses](https://corporatefinanceinstitute.com/collections/)
- [Resources](https://corporatefinanceinstitute.com/resources/)
- [About](https://corporatefinanceinstitute.com/about-cfi/)
- [Pricing](https://corporatefinanceinstitute.com/pricing/)
- [Teams](https://corporatefinanceinstitute.com/cfi-for-teams/)
[My Dashboard](https://learn.corporatefinanceinstitute.com/dashboard)
[Log In](https://learn.corporatefinanceinstitute.com/auth/login)
[Start Free](https://learn.corporatefinanceinstitute.com/auth/registration)
- [Certifications](https://corporatefinanceinstitute.com/certifications/)
- [Specializations](https://corporatefinanceinstitute.com/resources/equities/moving-average/)
- [Courses](https://corporatefinanceinstitute.com/collections/)
- [About CFI](https://corporatefinanceinstitute.com/about-cfi/)
- [Pricing](https://corporatefinanceinstitute.com/pricing/)
- [Resources](https://corporatefinanceinstitute.com/resources/)
- [Pricing](https://corporatefinanceinstitute.com/?page_id=207142)
- [Why CFI Certifications?](https://corporatefinanceinstitute.com/cfi-for-teams/certified-professionals/)
[My Dashboard](https://learn.corporatefinanceinstitute.com/dashboard)
[Log In](https://learn.corporatefinanceinstitute.com/auth/login)
[Start Free](https://learn.corporatefinanceinstitute.com/auth/registration)
[Home](https://corporatefinanceinstitute.com/ "Go to Corporate Finance Institute.")
›
[Resources](https://corporatefinanceinstitute.com/resources/ "Go to Resources.")
›
[Equities](https://corporatefinanceinstitute.com/topic/equities/ "Go to the Equities Resource Type archives.")
›
Moving Average
Table of Contents
- [What is a Moving Average?](https://corporatefinanceinstitute.com/resources/equities/moving-average/#what-is-a-moving-average)
- [Types of Moving Averages](https://corporatefinanceinstitute.com/resources/equities/moving-average/#types-of-moving-averages)
- [1\. Simple Moving Average (SMA)](https://corporatefinanceinstitute.com/resources/equities/moving-average/#1-simple-moving-average-sma)
- [2\. Exponential Moving Average (EMA)](https://corporatefinanceinstitute.com/resources/equities/moving-average/#2-exponential-moving-average-ema)
- [Download Free Template - Moving Average Examples](https://corporatefinanceinstitute.com/resources/equities/moving-average/#download-free-template-moving-average-examples)
- [Exponential Moving Average vs. Simple Moving Average](https://corporatefinanceinstitute.com/resources/equities/moving-average/#exponential-moving-average-vs-simple-moving-average)
- [Video Explanation of Moving Averages](https://corporatefinanceinstitute.com/resources/equities/moving-average/#video-explanation-of-moving-averages)
- [More Resources](https://corporatefinanceinstitute.com/resources/equities/moving-average/#more-resources)
# Moving Average
A technical indicator that analysts use to determine the direction of a trend and reduce the impact of unexpected price spikes
Written by [Sebastian Taylor](https://corporatefinanceinstitute.com/author/sebastian-taylor/)
Published April 19, 2020
Read Time 4 minutes
Over 2.8 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](https://learn.corporatefinanceinstitute.com/auth/registration)
## 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]()
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](https://corporatefinanceinstitute.com/resources/equities/advanced-technical-analysis/) 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](https://corporatefinanceinstitute.com/resources/career/six-essential-skills-of-master-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,](https://finance.yahoo.com/quote/%5EDJI?p=%5EDJI) 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](https://corporatefinanceinstitute.com/resources/financial-modeling/what-is-sensitivity-analysis/) 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.
[https://corporatefinanceinstitute.com/assets/Moving-Averages.mp4](https://cdn.corporatefinanceinstitute.com/assets/Moving-Averages.mp4)
### 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:
- [How To Read Stock Charts](https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/how-to-read-stock-charts/)
- [Keltner Channel](https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/keltner-channel/)
- [MACD Oscillator](https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/macd-oscillator-technical-analysis/)
- [Momentum Investing](https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/momentum-investing/)
- [Technical Analysis – A Beginner’s Guide](https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/technical-analysis/)
- **[See all capital markets resources](https://corporatefinanceinstitute.com/topic/capital-markets/)**
- **[See all equities resources](https://corporatefinanceinstitute.com/topic/equities/)**
Get Certified for Capital Markets (CMSA®)
From equities and fixed income to derivatives, the CMSA certification bridges the gap from where you are now to where you want to be — a world-class capital markets analyst.
[Learn More](https://corporatefinanceinstitute.com/certifications/capital-markets-securities-analyst-cmsa/)
- Share this article
- [![Share on LinkedIn]()](http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fcorporatefinanceinstitute.com%2Fresources%2Fequities%2Fmoving-average%2F&summary=Moving+Average "Share on LinkedIn")
- [![Share on Facebook]()](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcorporatefinanceinstitute.com%2Fresources%2Fequities%2Fmoving-average%2F "Share on Facebook")
- [![Share on Twitter]()](https://twitter.com/intent/tweet?text=Moving+Average&url=https%3A%2F%2Fcorporatefinanceinstitute.com%2Fresources%2Fequities%2Fmoving-average%2F "Share on Twitter")
- [![Share on WhatsApp]()](https://wa.me/?text=https%3A%2F%2Fcorporatefinanceinstitute.com%2Fresources%2Fequities%2Fmoving-average%2F&summary=Moving+Average "Share on WhatsApp")
- [![Copy link]()](https://corporatefinanceinstitute.com/resources/equities/moving-average/ "Copy link")
- [About CFI](https://corporatefinanceinstitute.com/about-cfi/)
- [Overview](https://corporatefinanceinstitute.com/about-cfi/)
- [Instructors](https://corporatefinanceinstitute.com/about-cfi/instructors/)
- [Team](https://corporatefinanceinstitute.com/about-cfi/faculty-team/)
- [Careers at CFI](https://corporatefinanceinstitute.com/about-cfi/careers-at-cfi/)
- [Editorial Standards](https://corporatefinanceinstitute.com/about-cfi/editorial-standards/)
- [CFI for Students](https://corporatefinanceinstitute.com/finance-certifications-for-students/)
- [CPE Credits](https://corporatefinanceinstitute.com/about-cfi/cpe-credits-online/)
- [Learner Reviews](https://corporatefinanceinstitute.com/learner-reviews/)
- [Partnerships](https://corporatefinanceinstitute.com/partnerships/)
- [Affiliates](https://corporatefinanceinstitute.com/affiliates/)
- [Newsroom](https://corporatefinanceinstitute.com/resources/newsroom/)
- [Certifications](https://corporatefinanceinstitute.com/certifications/)
- [FMVA®](https://corporatefinanceinstitute.com/certifications/financial-modeling-valuation-analyst-fmva-program/)
- [FPAP™](https://corporatefinanceinstitute.com/certifications/financial-planning-analysis-professional-fpap/)
- [CMSA®](https://corporatefinanceinstitute.com/certifications/capital-markets-securities-analyst-cmsa/)
- [CBCA®](https://corporatefinanceinstitute.com/certifications/commercial-banking-credit-analyst-certification-cbca/)
- [BIDA®](https://corporatefinanceinstitute.com/certifications/business-intelligence-data-analyst-bida/)
- [FPWMP®](https://corporatefinanceinstitute.com/certifications/financial-planning-and-wealth-management-fpwm-program/)
- [FTIP®](https://corporatefinanceinstitute.com/certifications/fintech-industry-professional/)
- [All Certifications](https://corporatefinanceinstitute.com/certifications/)
- [Compare Certifications](https://corporatefinanceinstitute.com/certifications/compare-certifications/)
- [Topics](https://corporatefinanceinstitute.com/topics/)
- [Specializations](https://corporatefinanceinstitute.com/specializations/)
- [Courses](https://corporatefinanceinstitute.com/collections/?tab=courses)
- [Pricing](https://corporatefinanceinstitute.com/pricing/)
- [For Individuals](https://corporatefinanceinstitute.com/pricing/)
- [For Students](https://corporatefinanceinstitute.com/finance-certifications-for-students/)
- [For Teams](https://corporatefinanceinstitute.com/cfi-for-teams/pricing-plans/)
- [CFI For Teams](https://corporatefinanceinstitute.com/cfi-for-teams/)
- [Financial Services](https://corporatefinanceinstitute.com/cfi-for-teams/for-financial-services/)
- [Corporate Finance](https://corporatefinanceinstitute.com/cfi-for-teams/for-finance-teams/)
- [Professional Services](https://corporatefinanceinstitute.com/cfi-for-teams/for-professional-services/)
- [For Employers](https://corporatefinanceinstitute.com/for-employers/)
- [Teams](https://corporatefinanceinstitute.com/cfi-for-teams/)
- [Careers & Roles](https://corporatefinanceinstitute.com/careers/)
- [FP\&A](https://corporatefinanceinstitute.com/careers/financial-planning-and-analysis/)
- [Investment Banking](https://corporatefinanceinstitute.com/careers/investment-banking/)
- [Capital Markets](https://corporatefinanceinstitute.com/careers/capital-markets/)
- [Commercial Lending](https://corporatefinanceinstitute.com/careers/commercial-lending/)
- [Risk Management](https://corporatefinanceinstitute.com/careers/risk-management/)
- [Asset Management](https://corporatefinanceinstitute.com/careers/asset-management/)
- [Hedge Funds](https://corporatefinanceinstitute.com/careers/hedge-funds/)
- [Private Equity](https://corporatefinanceinstitute.com/careers/private-equity/)
- [Wealth Management](https://corporatefinanceinstitute.com/careers/wealth-management/)
- [Support](https://help.corporatefinanceinstitute.com/)
- [Help \| FAQ](https://help.corporatefinanceinstitute.com/)
- [Legal](https://corporatefinanceinstitute.com/about-cfi/legal/)
- [Community](https://corporatefinanceinstitute.com/resources/equities/moving-average/)
- [Member Community](https://corporatefinanceinstitute.com/member-community/)
- [What’s New](https://corporatefinanceinstitute.com/whats-new/)
- [Resources](https://corporatefinanceinstitute.com/resources/)
- [Podcast](https://corporatefinanceinstitute.com/resources/finpod/)
[![Corporate Finance Institute (CFI) A+ BBB Business Review]()](https://www.bbb.org/ca/bc/vancouver/profile/online-education/corporate-finance-institute-cfi-0037-2405665/#sealclick)
![SOC for Service Organizations]()
[Trustpilot](https://www.trustpilot.com/review/corporatefinanceinstitute.com)
[Logo ![CFI on App Store]()](https://apps.apple.com/us/app/corporate-finance-institute/id6599859785)
[Logo ![CFI on Google Play]()](https://play.google.com/store/apps/details?id=lms.corporatefinanceinstitute.com)
© 2015 to 2026 CFI Education Inc.
[Follow us on LinkedIn](https://www.linkedin.com/school/corporate-finance-institute-cfi/ "Follow us on LinkedIn") [Follow us on Instagram](https://www.instagram.com/corporatefinanceinstitute/ "Follow us on Instagram") [Follow us on Facebook](https://www.facebook.com/corporatefinanceinstitute.CFI/ "Follow us on Facebook") [Follow us on YouTube](https://www.youtube.com/c/Corporatefinanceinstitute-CFI "Follow us on YouTube")
- [Privacy Policy](https://corporatefinanceinstitute.com/about-cfi/privacy-policy/)
- [Terms of Use](https://corporatefinanceinstitute.com/about-cfi/website-terms-of-use/)
- [Terms of Service](https://corporatefinanceinstitute.com/about-cfi/cfi-terms-of-service/)
- [Legal](https://corporatefinanceinstitute.com/about-cfi/legal/)
[Corporate Finance Institute](https://corporatefinanceinstitute.com/)
[Back to Website](https://corporatefinanceinstitute.com/)
0 search results for ‘’
People also search for: excel power bi esg accounting balance sheet fmva real estate
Explore Our Certifications
[Financial Modeling & Valuation Analyst (FMVA)®](https://corporatefinanceinstitute.com/certifications/financial-modeling-valuation-analyst-fmva-program/)
[Commercial Banking & Credit Analyst (CBCA)®](https://corporatefinanceinstitute.com/certifications/commercial-banking-credit-analyst-certification-cbca/)
[Capital Markets & Securities Analyst (CMSA)®](https://corporatefinanceinstitute.com/certifications/capital-markets-securities-analyst-cmsa/)
[Certified Business Intelligence & Data Analyst (BIDA)®](https://corporatefinanceinstitute.com/certifications/business-intelligence-data-analyst-bida/)
[Financial Planning & Wealth Management Professional (FPWMP)®](https://corporatefinanceinstitute.com/certifications/financial-planning-and-wealth-management-fpwm-program/)
[FinTech Industry Professional (FTIP)®](https://corporatefinanceinstitute.com/certifications/fintech-industry-professional/)
Resources
[Mastering Excel Shortcuts for PC and Mac Work Smarter in Excel with Keyboard Shortcuts If you're still reaching for the mouse every few seconds, it's time to level up. The best Excel keyboard...](https://corporatefinanceinstitute.com/resources/excel/excel-shortcuts-pc-mac/)
[Financial Modeling Guidelines CFI’s free Financial Modeling Guidelines is a thorough and complete resource covering model design, model building blocks, and common tips, tricks,...](https://corporatefinanceinstitute.com/resources/financial-modeling/free-financial-modeling-guide/)
[SQL Data Types What are SQL Data Types? The Structured Query Language (SQL) comprises several different data types that allow it to store different types of information...](https://corporatefinanceinstitute.com/resources/data-science/sql-data-types/)
[Structured Query Language (SQL) What is Structured Query Language (SQL)? Structured Query Language (known as SQL) is a programming language used to interact with a database....](https://corporatefinanceinstitute.com/resources/data-science/structured-query-language-sql/)
[See All Resources See All](https://corporatefinanceinstitute.com/resources/)
Popular Courses
[![Excel Fundamentals - Formulas for Finance]() BIDA Prep Course 2h 14min Excel Fundamentals - Formulas for Finance](https://corporatefinanceinstitute.com/course/excel-fundamentals-formulas-for-finance/)
[![3-Statement Modeling]() FMVA Required 3h 15min 3-Statement Modeling](https://corporatefinanceinstitute.com/course/3-statement-modeling/)
[![Introduction to Business Valuation]() FMVA Required 3h 9min Introduction to Business Valuation](https://corporatefinanceinstitute.com/course/intro-business-valuation/)
[![Scenario & Sensitivity Analysis in Excel]() FMVA Required 48min Scenario & Sensitivity Analysis in Excel](https://corporatefinanceinstitute.com/course/sensitivity-analysis-financial-modeling/)
[![Excel Data Visualization and Dashboards]() FMVA Required 1h 30min Excel Data Visualization and Dashboards](https://corporatefinanceinstitute.com/course/dashboards-and-data-visualization/)
[![Leveraged Buyout (LBO) Modeling]() 4h 33min Leveraged Buyout (LBO) Modeling](https://corporatefinanceinstitute.com/course/leveraged-buyout-lbo-modeling/)
[See All Courses See All](https://corporatefinanceinstitute.com/collections/)
Recent Searches
Suggestions
[Excel Courses](https://corporatefinanceinstitute.com/topic/excel/) [Financial Modeling & Valuation Analyst (FMVA)®](https://corporatefinanceinstitute.com/certifications/financial-modeling-valuation-analyst-fmva-program/)
×
### Create a free account to unlock this Template
Access and download collection of free Templates to help power your productivity and performance.
[Create a Free Account](https://corporatefinanceinstitute.com/resources/equities/moving-average/)
Already have an account? [Log in](https://corporatefinanceinstitute.com/resources/equities/moving-average/)
×
### Supercharge your skills with Premium Templates
Take your learning and productivity to the next level with our Premium Templates.
Upgrading to a paid membership gives you access to our extensive collection of plug-and-play Templates designed to power your performance—as well as CFI's full course catalog and accredited Certification Programs.
[Discover Paid Memberships](https://corporatefinanceinstitute.com/pricing/)
Already have a Self-Study or Full-Immersion membership? [Log in](https://corporatefinanceinstitute.com/resources/equities/moving-average/)
×
### Access Exclusive Templates
Gain unlimited access to more than 250 productivity Templates, CFI's full course catalog and accredited Certification Programs, hundreds of resources, expert reviews and support, the chance to work with real-world finance and research tools, and more.
[Discover Full-Immersion Membership](https://corporatefinanceinstitute.com/pricing/)
Already have a Full-Immersion membership? [Log in](https://corporatefinanceinstitute.com/resources/equities/moving-average/) |
| Readable Markdown | A technical indicator that analysts use to determine the direction of a trend and reduce the impact of unexpected price spikes
Published April 19, 2020
Read Time 4 minutes
Over 2.8 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](https://learn.corporatefinanceinstitute.com/auth/registration)
## 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.

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](https://corporatefinanceinstitute.com/resources/equities/advanced-technical-analysis/) 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](https://corporatefinanceinstitute.com/resources/career/six-essential-skills-of-master-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,](https://finance.yahoo.com/quote/%5EDJI?p=%5EDJI) 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](https://corporatefinanceinstitute.com/resources/financial-modeling/what-is-sensitivity-analysis/) 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.
[https://corporatefinanceinstitute.com/assets/Moving-Averages.mp4](https://cdn.corporatefinanceinstitute.com/assets/Moving-Averages.mp4)
### 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:
- [How To Read Stock Charts](https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/how-to-read-stock-charts/)
- [Keltner Channel](https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/keltner-channel/)
- [MACD Oscillator](https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/macd-oscillator-technical-analysis/)
- [Momentum Investing](https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/momentum-investing/)
- [Technical Analysis – A Beginner’s Guide](https://corporatefinanceinstitute.com/resources/career-map/sell-side/capital-markets/technical-analysis/)
- **[See all capital markets resources](https://corporatefinanceinstitute.com/topic/capital-markets/)**
- **[See all equities resources](https://corporatefinanceinstitute.com/topic/equities/)** |
| Shard | 68 (laksa) |
| Root Hash | 407738686562150068 |
| Unparsed URL | com,corporatefinanceinstitute!/resources/equities/moving-average/ s443 |