ℹ️ 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://www.thebalancemoney.com/simple-exponential-and-weighted-moving-averages-1031196 |
| Last Crawled | 2026-04-20 11:44:53 (11 hours ago) |
| First Indexed | 2022-09-09 08:33:47 (3 years ago) |
| HTTP Status Code | 200 |
| Meta Title | Simple, Exponential, and Weighted Moving Averages |
| Meta Description | Learn about simple, exponential and weighted moving averages, including definitions, calculations, and their basic uses and interpretations in trading. |
| Meta Canonical | null |
| Boilerpipe Text | Moving averages act as technical indicators that show the average price movement over a certain period. They are often used to help highlight
trends
, spot trend reversals, and provide trade signals.
There are several different types of moving averages. They each create a line on a chart that can help show you which direction a price is moving.
Learn the different types of averages used by traders and what they tell you about a price.
Simple Moving Average Calculation
The
simple moving average (SMA)
calculates an average of the last
n
prices, where P
x
represents the price in a period, and
n
represents the number of periods. The average "moves" because you are not using all of the data, only recent periods:
For example, a four-period SMA with prices of 1.2640, 1.2641, 1.2642, and 1.2641 gives a moving average of 1.2641 using the calculation (1.2640 + 1.2641 + 1.2642 + 1.2641) / 4 = 1.2641.
While knowing how to calculate a simple average is a good skill to have,
trading and chart platforms
figure it out for you. You select the SMA indicator from the list of charting indicators and apply it to the chart. Then you adjust the number of periods you want to use.
You typically make adjustments to the indicators in the Settings
menu section of a trading platform.
Note
On many platforms, you can locate the settings by double-clicking on the indicator itself.
The advantage of an SMA is that you know what you are getting. The SMA value equals the average price for the number of periods in the SMA calculation.
Traders commonly used eight, 20, 50, 100, and 200 periods for an SMA. For example, if using a 100-period SMA, the current value of the SMA on the chart is the average price over the last 100 periods or price bars.
Some charts include the SMA, along with an exponential moving average (EMA). They can also have a weighted moving average (WMA) on a one-minute stock chart. Due to their different calculations, the indicators appear at different price levels on the chart.
Exponential Moving Average Calculation
The exponential moving average (EMA) is a weighted average of recent period's prices. It uses an exponentially decreasing weight from each previous price/period. In other words, the formula gives recent prices more weight than past prices.
For example, a four-period EMA has prices of 1.5554, 1.5555, 1.5558, and 1.5560. The last value is the most recent and gives a current EMA value of 1.5558.
The EMA adapts more quickly to price changes than the SMA does. For example, when a price reverses direction, the EMA will reverse direction more quickly than the SMA will, because the EMA formula gives more weight to recent prices and less weight to prices from the past.
Note
As with the SMA, charting platforms do all of the EMA calculations for you. Select the EMA from the indicator list on a charting platform, and apply it to your chart. Go into the settings, and adjust how many periods the indicator should calculate, such as 15, 50, or 100.
Weighted Moving Average Calculation
The weighted moving average (WMA) gives you a weighted average of recent prices, where the weighting
decreases
with each previous price. This works similarly to the EMA, but you calculate the WMA differently.
WMAs can have different weights assigned based on the number of periods used in the calculation. If you want a weighted moving average of four different prices, then the most recent weighting could be 4 to 10. The previous period could weigh 3 to 10. The third period could have a weighting of 2 to 10.
A weight of 4 to 10, for example, means that you have 10 recent periods and their prices. You choose the four most recent prices. This accounts for 40% of the value of the WMA. The price four periods ago only accounts for 10% of the WMA value.
For the following example, assume prices of 90, 89, 88, 89, with the most recent price first. You would calculate this as [90 x (4/10)] + [89 x (3/10)] + [88 x (2/10)] + [89 x (1/10)] = 36 + 26.7 + 17.6 + 8.9 = 89.2
Note
You can customize the weighted moving average more than the SMA and EMA. The most recent price points are usually given more weight. It could also work the other way, where you give historical prices more weight.
Moving Average Trading Uses and Interpretation
You can use moving averages for both analysis and trading signals. For analysis, all of the moving averages help highlight the trend. When the price is above its moving average, it shows that the price is trading higher than it has, on average, over the period being analyzed. That helps to confirm an uptrend. When the price sits below its moving average, the price is trading lower on average than it has over the period being analyzed. That helps to confirm a
downtrend
.
When the price crosses above its moving average, it is getting stronger relative to where it was in the past, because the most recent price now sits higher than the average. If the price crosses below its moving average, it is getting weaker relative to where it was in the past.
One longer-term and one shorter-term moving average—for example, 20 and 50 periods—can be added to a chart simultaneously. When the 20-period moving average crosses above the 50 line, it indicates that short-term price momentum is moving to the upside. When the 20-period moving average crosses below the 50 line, it suggests that the short-term price momentum is moving to the downside.
Note
Moving averages can also be incorporated with other indicators to provide trade signals.
An EMA can provide buy signals when combined with
Keltner Channels
, an indicator with a high, average, and low price that creates a "channel" on a chart. A strategy may include buying near the EMA when the trend is up, and the price is pulling back from the top of the Keltner Channel.
One type of moving average isn't inherently better than others; they calculate the average price differently. Depending on the strategy you’re using, one kind of moving average may work better than another. Try out different moving average combinations, and see which provides you with the best results.
You may find that, for each market, you need to adjust your settings slightly. A 50-period SMA may provide great signals on one stock, for example, but not on another. A 20-period EMA may help isolate the trend on one
futures contract
but not another. All of the moving averages are just tools, and interpreting them is up to the trader, because no indicator works well all the time or in all market conditions.
Frequently Asked Questions
Moving averages are a technical indicator, so look for the button that lets you add indicators. This may be in a settings menu, or it may be its own button. From there, you can choose between simple, exponential, and weighted moving averages. Once the moving average is added to the chart, you can alter the number of periods, whether it uses the close or the low of the day, and other factors along these lines.
Swing traders
often use a mix of short-term and mid-term moving averages. For instance, a trader may use an 8-day, 24-day, and 50-day moving average. Other traders may use a 6-month moving average or more, in addition to a shorter-term moving average. |
| Markdown | ​
[Skip to content](https://www.thebalancemoney.com/simple-exponential-and-weighted-moving-averages-1031196#main)
[The Balance](https://www.thebalancemoney.com/)
- Please fill out this field.
Please fill out this field.
- [Budgeting](https://www.thebalancemoney.com/budgeting-4074043)
Budgeting
- [Budgeting Basics](https://www.thebalancemoney.com/how-to-make-a-budget-1289587)
- [Financial Planning](https://www.thebalancemoney.com/financial-planning-4074022)
- [Managing Your Debt](https://www.thebalancemoney.com/managing-your-debt-4073740)
- [Budgeting Software](https://www.thebalancemoney.com/tips-for-choosing-budget-software-1293610)
- [View All](https://www.thebalancemoney.com/budgeting-4074043)
- [Investing](https://www.thebalancemoney.com/investing-4072978)
Investing
- [Find an Advisor](https://www.thebalancemoney.com/find-qualified-advisors-4073748)
- [Stocks](https://www.thebalancemoney.com/stocks-4073971)
- [Retirement Planning](https://www.thebalancemoney.com/retirement-planning-4073976)
- [Cryptocurrency](https://www.thebalancemoney.com/bitcoin-4074046)
- [Trading](https://www.thebalancemoney.com/trading-5085695)
- [View All](https://www.thebalancemoney.com/investing-4072978)
- [Mortgages](https://www.thebalancemoney.com/mortgages-home-loans-4073270)
Mortgages
- [Homeowner Guide](https://www.thebalancemoney.com/homeowner-guide-5085697)
- [First-Time Homebuyers](https://www.thebalancemoney.com/first-time-homebuyers-5215694)
- [Home Financing](https://www.thebalancemoney.com/home-financing-4073589)
- [Managing Your Loan](https://www.thebalancemoney.com/managing-a-home-loan-5085699)
- [Mortgage Refinancing](https://www.thebalancemoney.com/mortgage-refinancing-5085698)
- [Using Your Home Equity](https://www.thebalancemoney.com/using-your-home-equity-5085693)
- [View All](https://www.thebalancemoney.com/mortgages-home-loans-4073270)
- [Economics](https://www.thebalancemoney.com/us-and-world-economies-5085694)
Economics
- [US Economy](https://www.thebalancemoney.com/us-economy-4073968)
- [Economic Terms](https://www.thebalancemoney.com/economy-glossary-4073945)
- [Unemployment](https://www.thebalancemoney.com/unemployment-statistics-4073010)
- [Fiscal Policy](https://www.thebalancemoney.com/fiscal-policy-and-debt-4073943)
- [Monetary Policy](https://www.thebalancemoney.com/monetary-policy-4073940)
- [View All](https://www.thebalancemoney.com/us-and-world-economies-5085694)
- [Banking](https://www.thebalancemoney.com/banking-4074049)
Banking
- [Banking Basics](https://www.thebalancemoney.com/banking-basics-4073275)
- [Savings Accounts](https://www.thebalancemoney.com/savings-accounts-4170102)
- [Certificates of Deposit (CDs)](https://www.thebalancemoney.com/certificates-of-deposit-4073274)
- [Checking Accounts](https://www.thebalancemoney.com/checking-account-resources-4073273)
- [View All](https://www.thebalancemoney.com/banking-4074049)
- [Small Business](https://www.thebalancemoney.com/small-business-5181174)
Small Business
- [Entrepreneurship](https://www.thebalancemoney.com/entrepreneurship-6265505)
- [Business Banking](https://www.thebalancemoney.com/small-business-banking-4073266)
- [Business Financing](https://www.thebalancemoney.com/small-business-financing-5223596)
- [Business Taxes](https://www.thebalancemoney.com/small-business-tax-tips-and-tools-5215980)
- [Business Tools](https://www.thebalancemoney.com/business-tools-6265506)
- [Becoming an Owner](https://www.thebalancemoney.com/becoming-an-owner-6265457)
- [Operations & Success](https://www.thebalancemoney.com/operations-success-6265508)
- [View All](https://www.thebalancemoney.com/small-business-5181174)
- [Career Planning](https://www.thebalancemoney.com/career-planning-6265513)
Career Planning
- [Finding a Job](https://www.thebalancemoney.com/finding-a-job-6265515)
- [Getting a Raise](https://www.thebalancemoney.com/getting-a-raise-6265535)
- [Work Benefits](https://www.thebalancemoney.com/work-benefits-6265536)
- [Top Jobs](https://www.thebalancemoney.com/top-jobs-6265528)
- [Cover Letters](https://www.thebalancemoney.com/cover-letters-6265516)
- [Resumes](https://www.thebalancemoney.com/resumes-6265526)
- [View All](https://www.thebalancemoney.com/career-planning-6265513)
- [More](https://www.thebalancemoney.com/personal-stories-6265547)
More
- [Credit Cards](https://www.thebalancemoney.com/credit-cards-4772711)
- [Insurance](https://www.thebalancemoney.com/personal-insurance-4073983)
- [Taxes](https://www.thebalancemoney.com/taxes-4073970)
- [Credit Reports & Scores](https://www.thebalancemoney.com/credit-reports-and-scores-4073406)
- [Loans](https://www.thebalancemoney.com/loans-4073271)
- [About Us](https://www.thebalancemoney.com/about-us-5104704)
About Us
- [The Balance Financial Review Board](https://www.thebalancemoney.com/the-balance-financial-review-board-4783604)
- [View All](https://www.thebalancemoney.com/about-us-5104704)
Follow Us
- [Budgeting](https://www.thebalancemoney.com/budgeting-4074043)
- [Budgeting Basics](https://www.thebalancemoney.com/how-to-make-a-budget-1289587)
- [Financial Planning](https://www.thebalancemoney.com/financial-planning-4074022)
- [Managing Your Debt](https://www.thebalancemoney.com/managing-your-debt-4073740)
- [Budgeting Software](https://www.thebalancemoney.com/tips-for-choosing-budget-software-1293610)
- [Investing](https://www.thebalancemoney.com/investing-4072978)
- [Find an Advisor](https://www.thebalancemoney.com/find-qualified-advisors-4073748)
- [Stocks](https://www.thebalancemoney.com/stocks-4073971)
- [Retirement Planning](https://www.thebalancemoney.com/retirement-planning-4073976)
- [Cryptocurrency](https://www.thebalancemoney.com/bitcoin-4074046)
- [Trading](https://www.thebalancemoney.com/trading-5085695)
- [Mortgages](https://www.thebalancemoney.com/mortgages-home-loans-4073270)
- [Homeowner Guide](https://www.thebalancemoney.com/homeowner-guide-5085697)
- [First-Time Homebuyers](https://www.thebalancemoney.com/first-time-homebuyers-5215694)
- [Home Financing](https://www.thebalancemoney.com/home-financing-4073589)
- [Managing Your Loan](https://www.thebalancemoney.com/managing-a-home-loan-5085699)
- [Mortgage Refinancing](https://www.thebalancemoney.com/mortgage-refinancing-5085698)
- [Using Your Home Equity](https://www.thebalancemoney.com/using-your-home-equity-5085693)
- [Economics](https://www.thebalancemoney.com/us-and-world-economies-5085694)
- [US Economy](https://www.thebalancemoney.com/us-economy-4073968)
- [Economic Terms](https://www.thebalancemoney.com/economy-glossary-4073945)
- [Unemployment](https://www.thebalancemoney.com/unemployment-statistics-4073010)
- [Fiscal Policy](https://www.thebalancemoney.com/fiscal-policy-and-debt-4073943)
- [Monetary Policy](https://www.thebalancemoney.com/monetary-policy-4073940)
- [Banking](https://www.thebalancemoney.com/banking-4074049)
- [Banking Basics](https://www.thebalancemoney.com/banking-basics-4073275)
- [Savings Accounts](https://www.thebalancemoney.com/savings-accounts-4170102)
- [Certificates of Deposit (CDs)](https://www.thebalancemoney.com/certificates-of-deposit-4073274)
- [Checking Accounts](https://www.thebalancemoney.com/checking-account-resources-4073273)
- [Small Business](https://www.thebalancemoney.com/small-business-5181174)
- [Entrepreneurship](https://www.thebalancemoney.com/entrepreneurship-6265505)
- [Business Banking](https://www.thebalancemoney.com/small-business-banking-4073266)
- [Business Financing](https://www.thebalancemoney.com/small-business-financing-5223596)
- [Business Taxes](https://www.thebalancemoney.com/small-business-tax-tips-and-tools-5215980)
- [Business Tools](https://www.thebalancemoney.com/business-tools-6265506)
- [Becoming an Owner](https://www.thebalancemoney.com/becoming-an-owner-6265457)
- [Operations & Success](https://www.thebalancemoney.com/operations-success-6265508)
- [Career Planning](https://www.thebalancemoney.com/career-planning-6265513)
- [Finding a Job](https://www.thebalancemoney.com/finding-a-job-6265515)
- [Getting a Raise](https://www.thebalancemoney.com/getting-a-raise-6265535)
- [Work Benefits](https://www.thebalancemoney.com/work-benefits-6265536)
- [Top Jobs](https://www.thebalancemoney.com/top-jobs-6265528)
- [Cover Letters](https://www.thebalancemoney.com/cover-letters-6265516)
- [Resumes](https://www.thebalancemoney.com/resumes-6265526)
- [More](https://www.thebalancemoney.com/personal-stories-6265547)
- [Credit Cards](https://www.thebalancemoney.com/credit-cards-4772711)
- [Insurance](https://www.thebalancemoney.com/personal-insurance-4073983)
- [Taxes](https://www.thebalancemoney.com/taxes-4073970)
- [Credit Reports & Scores](https://www.thebalancemoney.com/credit-reports-and-scores-4073406)
- [Loans](https://www.thebalancemoney.com/loans-4073271)
[About Us](https://www.thebalancemoney.com/about-us-5104704)
- [The Balance Financial Review Board](https://www.thebalancemoney.com/the-balance-financial-review-board-4783604)
# Simple, Exponential, and Weighted Moving Averages
Day Trading Uses and Applications of Moving Averages
By [Adam Milton](https://www.thebalancemoney.com/adam-milton-bio-1030828)
Updated on June 18, 2021
Fact checked by
[Emily Ernsberger](https://www.thebalancemoney.com/emily-ernsberger-5188217)
![Emily Ernsberger headshot]()
:max_bytes\(150000\):strip_icc\(\)/IMG_1820-9fadd7a5f908410880684c93745fe0ed.jpg)
Fact checked by [Emily Ernsberger](https://www.thebalancemoney.com/emily-ernsberger-5188217)
Emily Ernsberger is a fact-checker and an award-winning journalist with more than five years of experience covering local governments.
[brand's fact checking process](https://www.thebalancemoney.com/about-us-5104704#toc-editorial-guidelines)
In This Article
View All
In This Article
- [Simple Moving Average Calculation](https://www.thebalancemoney.com/simple-exponential-and-weighted-moving-averages-1031196#toc-simple-moving-average-calculation)
- [Exponential Moving Average Calculation](https://www.thebalancemoney.com/simple-exponential-and-weighted-moving-averages-1031196#toc-exponential-moving-average-calculation)
- [Weighted Moving Average Calculation](https://www.thebalancemoney.com/simple-exponential-and-weighted-moving-averages-1031196#toc-weighted-moving-average-calculation)
- [Moving Average Trading Uses and Interpretation](https://www.thebalancemoney.com/simple-exponential-and-weighted-moving-averages-1031196#toc-moving-average-trading-uses-and-interpretation)
- [Frequently Asked Questions](https://www.thebalancemoney.com/simple-exponential-and-weighted-moving-averages-1031196#toc-faq-fdac6fa1-b614-4903-be12-cc047e4ff721)
Close
:max_bytes\(150000\):strip_icc\(\)/smaemaandwma-59d66ba6d963ac0010f68371.jpg)
:max_bytes\(150000\):strip_icc\(\)/smaemaandwma-59d66ba6d963ac0010f68371.jpg)
Credit: TradingView.com
Moving averages act as technical indicators that show the average price movement over a certain period. They are often used to help highlight [trends](https://www.thebalancemoney.com/trend-following-in-commodities-trading-809367), spot trend reversals, and provide trade signals.
There are several different types of moving averages. They each create a line on a chart that can help show you which direction a price is moving.
Learn the different types of averages used by traders and what they tell you about a price.
## Simple Moving Average Calculation
The [simple moving average (SMA)](https://www.thebalancemoney.com/what-is-a-simple-moving-average-5207024) calculates an average of the last *n* prices, where Px represents the price in a period, and *n* represents the number of periods. The average "moves" because you are not using all of the data, only recent periods:
![Simple Moving Average]()
:max_bytes\(150000\):strip_icc\(\)/SMA-f19ef44569874d9ba635cd2e85a3343e.jpg)
For example, a four-period SMA with prices of 1.2640, 1.2641, 1.2642, and 1.2641 gives a moving average of 1.2641 using the calculation (1.2640 + 1.2641 + 1.2642 + 1.2641) / 4 = 1.2641.
While knowing how to calculate a simple average is a good skill to have, [trading and chart platforms](https://www.thebalancemoney.com/tools-and-services-needed-for-day-trading-1031037) figure it out for you. You select the SMA indicator from the list of charting indicators and apply it to the chart. Then you adjust the number of periods you want to use.
You typically make adjustments to the indicators in the Settingsmenu section of a trading platform.
### Note
On many platforms, you can locate the settings by double-clicking on the indicator itself.
The advantage of an SMA is that you know what you are getting. The SMA value equals the average price for the number of periods in the SMA calculation.
Traders commonly used eight, 20, 50, 100, and 200 periods for an SMA. For example, if using a 100-period SMA, the current value of the SMA on the chart is the average price over the last 100 periods or price bars.
Some charts include the SMA, along with an exponential moving average (EMA). They can also have a weighted moving average (WMA) on a one-minute stock chart. Due to their different calculations, the indicators appear at different price levels on the chart.
## Exponential Moving Average Calculation
The exponential moving average (EMA) is a weighted average of recent period's prices. It uses an exponentially decreasing weight from each previous price/period. In other words, the formula gives recent prices more weight than past prices.
![Exponential Moving Average]()
:max_bytes\(150000\):strip_icc\(\)/EMA-a566789cf300425c80352fb70a6c0666.jpg)
For example, a four-period EMA has prices of 1.5554, 1.5555, 1.5558, and 1.5560. The last value is the most recent and gives a current EMA value of 1.5558.
The EMA adapts more quickly to price changes than the SMA does. For example, when a price reverses direction, the EMA will reverse direction more quickly than the SMA will, because the EMA formula gives more weight to recent prices and less weight to prices from the past.
### Note
As with the SMA, charting platforms do all of the EMA calculations for you. Select the EMA from the indicator list on a charting platform, and apply it to your chart. Go into the settings, and adjust how many periods the indicator should calculate, such as 15, 50, or 100.
## Weighted Moving Average Calculation
The weighted moving average (WMA) gives you a weighted average of recent prices, where the weighting *decreases* with each previous price. This works similarly to the EMA, but you calculate the WMA differently.
![Weighted Moving Average]()
:max_bytes\(150000\):strip_icc\(\)/WMA-2cada5373e76459a947b8c7fc106f41e.jpg)
WMAs can have different weights assigned based on the number of periods used in the calculation. If you want a weighted moving average of four different prices, then the most recent weighting could be 4 to 10. The previous period could weigh 3 to 10. The third period could have a weighting of 2 to 10.
A weight of 4 to 10, for example, means that you have 10 recent periods and their prices. You choose the four most recent prices. This accounts for 40% of the value of the WMA. The price four periods ago only accounts for 10% of the WMA value.
For the following example, assume prices of 90, 89, 88, 89, with the most recent price first. You would calculate this as \[90 x (4/10)\] + \[89 x (3/10)\] + \[88 x (2/10)\] + \[89 x (1/10)\] = 36 + 26.7 + 17.6 + 8.9 = 89.2
### Note
You can customize the weighted moving average more than the SMA and EMA. The most recent price points are usually given more weight. It could also work the other way, where you give historical prices more weight.
## Moving Average Trading Uses and Interpretation
You can use moving averages for both analysis and trading signals. For analysis, all of the moving averages help highlight the trend. When the price is above its moving average, it shows that the price is trading higher than it has, on average, over the period being analyzed. That helps to confirm an uptrend. When the price sits below its moving average, the price is trading lower on average than it has over the period being analyzed. That helps to confirm a [downtrend](https://www.thebalancemoney.com/how-to-spot-and-trade-downtrends-in-any-market-1030886).
When the price crosses above its moving average, it is getting stronger relative to where it was in the past, because the most recent price now sits higher than the average. If the price crosses below its moving average, it is getting weaker relative to where it was in the past.
One longer-term and one shorter-term moving average—for example, 20 and 50 periods—can be added to a chart simultaneously. When the 20-period moving average crosses above the 50 line, it indicates that short-term price momentum is moving to the upside. When the 20-period moving average crosses below the 50 line, it suggests that the short-term price momentum is moving to the downside.
### Note
Moving averages can also be incorporated with other indicators to provide trade signals.
An EMA can provide buy signals when combined with [Keltner Channels](https://www.thebalancemoney.com/how-to-day-with-trade-keltner-channels-4051613), an indicator with a high, average, and low price that creates a "channel" on a chart. A strategy may include buying near the EMA when the trend is up, and the price is pulling back from the top of the Keltner Channel.
One type of moving average isn't inherently better than others; they calculate the average price differently. Depending on the strategy you’re using, one kind of moving average may work better than another. Try out different moving average combinations, and see which provides you with the best results.
You may find that, for each market, you need to adjust your settings slightly. A 50-period SMA may provide great signals on one stock, for example, but not on another. A 20-period EMA may help isolate the trend on one [futures contract](https://www.thebalancemoney.com/what-are-futures-definition-and-examples-1031172) but not another. All of the moving averages are just tools, and interpreting them is up to the trader, because no indicator works well all the time or in all market conditions.
## Frequently Asked Questions
- How do you add moving average to a chart?
Moving averages are a technical indicator, so look for the button that lets you add indicators. This may be in a settings menu, or it may be its own button. From there, you can choose between simple, exponential, and weighted moving averages. Once the moving average is added to the chart, you can alter the number of periods, whether it uses the close or the low of the day, and other factors along these lines.
- How should you format moving averages for swing trading?
[Swing traders](https://www.thebalancemoney.com/day-trading-verus-swing-trading-4134456) often use a mix of short-term and mid-term moving averages. For instance, a trader may use an 8-day, 24-day, and 50-day moving average. Other traders may use a 6-month moving average or more, in addition to a shorter-term moving average.
Was this page helpful?
Thanks for your feedback\!
Tell us why\!
Other
Read More:
- [Investing](https://www.thebalancemoney.com/investing-4072978)
- [Trading](https://www.thebalancemoney.com/trading-5085695)
- [Day Trading](https://www.thebalancemoney.com/day-trading-4074032)
## Related Articles
[![trading with support and resistance]() :max_bytes\(150000\):strip_icc\(\):focal\(982x0:984x2\)/supportandresistance-5a31d0a7ec2f640037428260.jpg) How to Trade Based on Support and Resistance Levels](https://www.thebalancemoney.com/how-to-trade-based-on-support-and-resistance-levels-4043477)
[![Pros and cons of free real-time stock charts. Pros: Real-time Excellent backup data source Great training tool for new traders Cons: Unofficial Usually comes from sole data provider Isn’t guaranteed for accuracy or timeliness ]() :max_bytes\(150000\):strip_icc\(\):focal\(749x0:751x2\)/free-real-time-stock-charts-for-day-traders-4089496_final-60164705f4ec473dac625285ce4b78ae.png) Best Free Real-Time Stock Charts](https://www.thebalancemoney.com/free-real-time-stock-charts-for-day-traders-4089496)
[![Man in his home office making more than 10 percent from day trading]() :max_bytes\(150000\):strip_icc\(\):focal\(1059x0:1061x2\)/day-trading-versus-swing-trading-58d2b0783df78c5162052d77.jpg) How to Get a 10% Monthly Return Day Trading](https://www.thebalancemoney.com/10-percent-monthly-return-day-trading-4077743)
[![Red and yellow triangular road sign, symbolizing the need for caution]() :max_bytes\(150000\):strip_icc\(\):focal\(1295x0:1297x2\)/triangular-moving-d10802b75b7e48adbacf1071d99ed668.jpg) Trade Using the Triangular Moving Average – TMA](https://www.thebalancemoney.com/triangular-moving-average-tma-description-and-uses-1031203)
[![A man writes in a notebook at a desk while looking at a computer screen]() :max_bytes\(150000\):strip_icc\(\):focal\(1059x0:1061x2\)/whatisaveragetruerange-127d1a48ace74297820e0f11c35a0b85.jpg) What Is the Average True Range (ATR) in Trading?](https://www.thebalancemoney.com/how-average-true-range-atr-can-improve-trading-4154923)
[![Trader studying laptop]() :max_bytes\(150000\):strip_icc\(\):focal\(1993x0:1995x2\)/GettyImages-1256650485-555bf7d4384c4351987908ef81bcd764.jpg) What Is the TRIX Reversal Trading System?](https://www.thebalancemoney.com/trix-reversal-1031476)
[![Day traders watching stocks on monitors]() :max_bytes\(150000\):strip_icc\(\):focal\(1060x0:1062x2\)/GettyImages-149260773-4388c8686fcb4bb586566036504989e7.jpg) What Is the Moving Average Bounce Trading System?](https://www.thebalancemoney.com/moving-average-bounce-1031474)
[![Feet standing at the edge of a line - Zero Line Cross (concept)]() :max_bytes\(150000\):strip_icc\(\):focal\(1059x0:1061x2\)/PaintedStripeonAsphalt-5b41ffbc46e0fb0037a14aa6.jpg) Zero Line Cross](https://www.thebalancemoney.com/zero-line-cross-1031477)
[![Trading indicators on a computer screen]() :max_bytes\(150000\):strip_icc\(\):focal\(1950x0:1952x2\)/How-to-Short-Stock-56a092873df78cafdaa2d47f.jpg) Choosing the Right Indicators to Fit Your Trading Style](https://www.thebalancemoney.com/average-of-the-open-high-low-and-close-1031216)
[![A day trader checks the momentum indicator of a stock from his phone.]() :max_bytes\(150000\):strip_icc\(\):focal\(1059x0:1061x2\)/GettyImages-1249849699-54321e3fc7e14b4788810ed16504b242.jpg) Applying the Momentum Indicator to Your Trading Strategy](https://www.thebalancemoney.com/how-to-trade-with-the-momentum-indicator-1031195)
[![Directional movement index on one minute of a day trading chart.]() :max_bytes\(150000\):strip_icc\(\):focal\(707x0:709x2\)/direction-movement-index-on-day-trading-chart-576c0e425f9b5858753ec81b.jpg) How to Trade With the Directional Movement Index (DMI)](https://www.thebalancemoney.com/directional-movement-index-dmi-1031185)
[![Traders buying and selling on exchange floor]() :max_bytes\(150000\):strip_icc\(\):focal\(1053x0:1055x2\)/traders-buying-and-selling-on-exchange-floor-57a0c79f3df78c3276b13a42.jpg) How Do Buying and Selling Move Market Prices?](https://www.thebalancemoney.com/how-market-prices-move-through-buying-and-selling-1031049)
[![Suited man with a teacup in hand, talking on cellphone, sitting before his laptop]() :max_bytes\(150000\):strip_icc\(\):focal\(2879x0:2881x2\)/GettyImages-623196464-aba3e2528a244349ac80196d6757dbbf.jpg) How To Trade the Cup and Handle Chart Pattern](https://www.thebalancemoney.com/trading-the-cup-and-handle-chart-pattern-4153469)
[![a woman pointing to charts on a a computer monitor]() :max_bytes\(150000\):strip_icc\(\):focal\(627x0:629x2\)/what-you-need-to-know-about-day-trading-57a27e5c5f9b589aa95443e7.jpg) Reading Day-Trading Charts](https://www.thebalancemoney.com/day-trading-charts-bar-candlestick-and-line-charts-1031028)
[![Blue financial charts over a digital world map]() :max_bytes\(150000\):strip_icc\(\):focal\(999x0:1001x2\)/GettyImages-171573445-5b79d6cac9e77c0025f71281.jpg) Day Trading With Donchian Channels](https://www.thebalancemoney.com/day-trading-with-donchian-channels-1031186)
[![Man's finger pointing at bar chart]() :max_bytes\(150000\):strip_icc\(\):focal\(1059x0:1061x2\)/how-to-read-a-bar-chart-57a0c31e3df78c3276ae83c3.jpg) How to Read a Bar Chart for Day Trading](https://www.thebalancemoney.com/read-a-bar-chart-1031114)
[The Balance](https://www.thebalancemoney.com/)
## Follow Us
- [Budgeting](https://www.thebalancemoney.com/budgeting-4074043)
- [Investing](https://www.thebalancemoney.com/investing-4072978)
- [Mortgages](https://www.thebalancemoney.com/mortgages-home-loans-4073270)
- [Economics](https://www.thebalancemoney.com/us-and-world-economies-5085694)
- [Banking](https://www.thebalancemoney.com/banking-4074049)
- [Small Business](https://www.thebalancemoney.com/small-business-5181174)
- [About Us](https://www.thebalancemoney.com/about-us-5104704)
- [Privacy Policy](https://www.people.inc/brands-privacy)
- [Editorial Guidelines](https://www.thebalancemoney.com/about-us-5104704#toc-editorial-guidelines)
- [Terms of Service](https://www.people.inc/brands-termsofservice)
- [Advertise](https://www.people.inc/advertising)
- [Careers](https://www.people.inc/careers)
- [Contact](https://www.thebalancemoney.com/about-us-5104704#toc-contact-us)
The Balance is part of the [People Inc.](https://www.people.inc/) publishing family.
Newsletter Sign Up
Newsletter Sign Up |
| Readable Markdown | Moving averages act as technical indicators that show the average price movement over a certain period. They are often used to help highlight [trends](https://www.thebalancemoney.com/trend-following-in-commodities-trading-809367), spot trend reversals, and provide trade signals.
There are several different types of moving averages. They each create a line on a chart that can help show you which direction a price is moving.
Learn the different types of averages used by traders and what they tell you about a price.
## Simple Moving Average Calculation
The [simple moving average (SMA)](https://www.thebalancemoney.com/what-is-a-simple-moving-average-5207024) calculates an average of the last *n* prices, where Px represents the price in a period, and *n* represents the number of periods. The average "moves" because you are not using all of the data, only recent periods:
For example, a four-period SMA with prices of 1.2640, 1.2641, 1.2642, and 1.2641 gives a moving average of 1.2641 using the calculation (1.2640 + 1.2641 + 1.2642 + 1.2641) / 4 = 1.2641.
While knowing how to calculate a simple average is a good skill to have, [trading and chart platforms](https://www.thebalancemoney.com/tools-and-services-needed-for-day-trading-1031037) figure it out for you. You select the SMA indicator from the list of charting indicators and apply it to the chart. Then you adjust the number of periods you want to use.
You typically make adjustments to the indicators in the Settingsmenu section of a trading platform.
### Note
On many platforms, you can locate the settings by double-clicking on the indicator itself.
The advantage of an SMA is that you know what you are getting. The SMA value equals the average price for the number of periods in the SMA calculation.
Traders commonly used eight, 20, 50, 100, and 200 periods for an SMA. For example, if using a 100-period SMA, the current value of the SMA on the chart is the average price over the last 100 periods or price bars.
Some charts include the SMA, along with an exponential moving average (EMA). They can also have a weighted moving average (WMA) on a one-minute stock chart. Due to their different calculations, the indicators appear at different price levels on the chart.
## Exponential Moving Average Calculation
The exponential moving average (EMA) is a weighted average of recent period's prices. It uses an exponentially decreasing weight from each previous price/period. In other words, the formula gives recent prices more weight than past prices.
For example, a four-period EMA has prices of 1.5554, 1.5555, 1.5558, and 1.5560. The last value is the most recent and gives a current EMA value of 1.5558.
The EMA adapts more quickly to price changes than the SMA does. For example, when a price reverses direction, the EMA will reverse direction more quickly than the SMA will, because the EMA formula gives more weight to recent prices and less weight to prices from the past.
### Note
As with the SMA, charting platforms do all of the EMA calculations for you. Select the EMA from the indicator list on a charting platform, and apply it to your chart. Go into the settings, and adjust how many periods the indicator should calculate, such as 15, 50, or 100.
## Weighted Moving Average Calculation
The weighted moving average (WMA) gives you a weighted average of recent prices, where the weighting *decreases* with each previous price. This works similarly to the EMA, but you calculate the WMA differently.
WMAs can have different weights assigned based on the number of periods used in the calculation. If you want a weighted moving average of four different prices, then the most recent weighting could be 4 to 10. The previous period could weigh 3 to 10. The third period could have a weighting of 2 to 10.
A weight of 4 to 10, for example, means that you have 10 recent periods and their prices. You choose the four most recent prices. This accounts for 40% of the value of the WMA. The price four periods ago only accounts for 10% of the WMA value.
For the following example, assume prices of 90, 89, 88, 89, with the most recent price first. You would calculate this as \[90 x (4/10)\] + \[89 x (3/10)\] + \[88 x (2/10)\] + \[89 x (1/10)\] = 36 + 26.7 + 17.6 + 8.9 = 89.2
### Note
You can customize the weighted moving average more than the SMA and EMA. The most recent price points are usually given more weight. It could also work the other way, where you give historical prices more weight.
## Moving Average Trading Uses and Interpretation
You can use moving averages for both analysis and trading signals. For analysis, all of the moving averages help highlight the trend. When the price is above its moving average, it shows that the price is trading higher than it has, on average, over the period being analyzed. That helps to confirm an uptrend. When the price sits below its moving average, the price is trading lower on average than it has over the period being analyzed. That helps to confirm a [downtrend](https://www.thebalancemoney.com/how-to-spot-and-trade-downtrends-in-any-market-1030886).
When the price crosses above its moving average, it is getting stronger relative to where it was in the past, because the most recent price now sits higher than the average. If the price crosses below its moving average, it is getting weaker relative to where it was in the past.
One longer-term and one shorter-term moving average—for example, 20 and 50 periods—can be added to a chart simultaneously. When the 20-period moving average crosses above the 50 line, it indicates that short-term price momentum is moving to the upside. When the 20-period moving average crosses below the 50 line, it suggests that the short-term price momentum is moving to the downside.
### Note
Moving averages can also be incorporated with other indicators to provide trade signals.
An EMA can provide buy signals when combined with [Keltner Channels](https://www.thebalancemoney.com/how-to-day-with-trade-keltner-channels-4051613), an indicator with a high, average, and low price that creates a "channel" on a chart. A strategy may include buying near the EMA when the trend is up, and the price is pulling back from the top of the Keltner Channel.
One type of moving average isn't inherently better than others; they calculate the average price differently. Depending on the strategy you’re using, one kind of moving average may work better than another. Try out different moving average combinations, and see which provides you with the best results.
You may find that, for each market, you need to adjust your settings slightly. A 50-period SMA may provide great signals on one stock, for example, but not on another. A 20-period EMA may help isolate the trend on one [futures contract](https://www.thebalancemoney.com/what-are-futures-definition-and-examples-1031172) but not another. All of the moving averages are just tools, and interpreting them is up to the trader, because no indicator works well all the time or in all market conditions.
## Frequently Asked Questions
- Moving averages are a technical indicator, so look for the button that lets you add indicators. This may be in a settings menu, or it may be its own button. From there, you can choose between simple, exponential, and weighted moving averages. Once the moving average is added to the chart, you can alter the number of periods, whether it uses the close or the low of the day, and other factors along these lines.
- [Swing traders](https://www.thebalancemoney.com/day-trading-verus-swing-trading-4134456) often use a mix of short-term and mid-term moving averages. For instance, a trader may use an 8-day, 24-day, and 50-day moving average. Other traders may use a 6-month moving average or more, in addition to a shorter-term moving average. |
| Shard | 106 (laksa) |
| Root Hash | 4422461024219680306 |
| Unparsed URL | com,thebalancemoney!www,/simple-exponential-and-weighted-moving-averages-1031196 s443 |