Moving averages are one of the most popular tools used by active traders to measure momentum. The primary difference between a simple moving average, weighted moving average and exponential moving average is the formula used to create them.

Simple Moving Average

The simple moving average (SMA) was prevalent before the rise of computers due to the ease in calculating. The increase in processing power has made other types of moving averages and technical indicators easier to use. A moving average is calculated from the average of the closing prices for the time period being examined. A moving average most often uses daily closing prices, but it can also be calculated for other timeframes. Other price data such as the opening price or the median price may also be used. At the end of the new price period, that data is added to the calculation, while the oldest price data in the series is eliminated.

For a simple moving average, the formula is the sum of the data points over a given period divided by the number of periods. For example, the closing prices of Apple Inc (AAPL) from June 20-26, 2014 were as follows:


Closing Price of AAPL

June 26


June 25


June 24


June 23


June 20


A five-period moving average, based on the prices above, would be calculated using the following formula:


P = Period

($90.90+$90.36+$90.28+$90.83+$90.91)/5 = $90.656

Based on the equation above, the average price over the period listed above was $90.66. Using moving averages is an effective method for eliminating strong price fluctuations. The key limitation is that data points from older data are not weighted any differently than data points near the beginning of the data set. This is where weighted moving averages come into play.

Weighted Moving Average

Weighted moving averages assign a heavier weighting to more current data points since they are more relevant than data points in the distant past. The sum of the weighting should add up to 1 (or 100%). In the case of the simple moving average, the weightings are equally distributed, which is why they are not shown in the table above.

For example:


Closing Price of AAPL


June 26



June 25



June 24



June 23



June 20



The weighted average is calculated by multiplying the given price by its associated weighting and totaling the values. The denominator of the WMA is the sum of the number of price periods as a triangular number. In the example above, the weighted 5-day moving average would be $90.62.


In this example, the recent data point was given the highest weighting out of an arbitrary 15 points. You can weigh the values out of any value you see fit. The lower value from the weighted average above relative to the simple average suggests the recent selling pressure could be more significant than some traders anticipate. For most traders, the most popular choice when using weighted moving averages is to use a higher weighting for recent values. (For more information, see: Moving Average Tutorial.)

Exponential Moving Averages

Exponential moving averages (EMAs), are also weighted toward the most recent prices, but the rate of decrease between the one price and its preceding price is not consistent. The difference in decrease is exponential. Rather than every preceding weight being 1.0 smaller than the weight in front of it, you might have a difference between the first two period weights of 1.0, a difference of 1.2 for the two periods after those, and so on.

Calculating an EMA involves a couple of steps. The first step is to determine the SMA for the time period, which is the first data point in the EMA formula. Then, a multiplier is calculated by taking 2 divided by the number of time periods plus 1. The final step is to take the closing price minus the prior day EMA, times the multiplier plus the prior day EMA. (For related reading, see: What is the exponential moving average (EMA) formula and how is the EMA calculated?)

Which Moving Average Is More Effective?

Because an exponential moving average (EMA) uses an exponentially weighted multiplier to give more weight to recent prices, some believe it provides a more effective indicator to determine trend when compared with a WMA or SMA. Some believe that the EMA is more responsive to changes in trend. On the other hand, the more basic smoothing provided by the SMA may make it better for finding simple support and resistance areas on a chart. In general, moving averages smooth price data that can otherwise be visually noisy.

The functions of an EMA and a WMA are similar, relying more heavily on the most recent prices and placing less value on older prices. Traders use these over SMAs if they are concerned about the effects of lags in data reducing the responsiveness of the moving average indicator.

All moving averages have a significant drawback in that they are lagging indicators. Since moving averages are based on prior data, they suffer a time lag before they reflect a change in trend. A stock price may move sharply before a moving average can show a trend change. A shorter moving average suffers from less lag than a longer moving average.

Still, this lag is useful for certain technical indicators known as moving average crossovers. The technical indicator known as the death cross occurs when the 50-day SMA crosses below the 200-day SMA, and it is considered a bearish signal. An opposite indicator known as the golden cross is created when the 50-day SMA crosses above the 200-day SMA, and it is considered a bullish signal. (For related reading, see: How to Use a Moving Average to Buy Stocks.)

  1. How is the Exponential Moving Average (EMA) formula calculated?

    Learn the formula for calculating both simple moving averages and exponential moving averages, indicators that are frequently ... Read Answer >>
  2. What are the main advantages of using Moving Averages (MA)?

    See why moving averages have proven to be advantageous for traders and analysts and useful when applied to price charts and ... Read Answer >>
  3. What are the best technical indicators to complement the Exponential Moving Average ...

    Utilize additional technical indicators to complement and improve a basic trading strategy that relies on exponential moving ... Read Answer >>
  4. Weighted Average Shares Vs. Outstanding Shares

    What's the difference between weighted average shares outstanding and basic weighted average shares? Read Answer >>
  5. Why is the 200 Simple Moving Average (SMA) so common for traders and analysts?

    Learn about the 200 simple moving average (SMA), how it is utilized by traders and analysts, and why it is considered to ... Read Answer >>
  6. How can I use simple moving averages to signal when to buy or sell stocks?

    Learn about simple moving averages, simple moving average strategies and how to use these strategies to signal buy and sell ... Read Answer >>
Related Articles
  1. Trading

    Simple Versus Exponential Moving Averages

    These technical indicators help traders visualize trends by smoothing out price movements, but they are based on different calculations.
  2. Trading

    Do Adaptive Moving Averages Lead To Better Results?

    These complex indicators can help traders interpret trend changes, but are they too good to be true?
  3. Trading

    Weighted Moving Averages: The Basics

    We take a closer look at the linearly weighted moving average and the exponentially smoothed moving average.
  4. Investing

    Moving Average Bounce

    Find out how this simple trading strategy can be added into your trading arsenal.
  5. Managing Wealth

    Weighted Average Cost Of Capital (WACC)

    Weighted average cost of capital may be hard to calculate, but it's a solid way to measure investment quality
  6. Investing

    Gravity MIA After Seven Straight Up Weeks for S&P500

    Three quarters of S&P500 stocks are above their 50-day moving averages. Should investors be worried?
  7. Trading

    Tackling Technicals For Beginners

    Choosing the right indicators can be a daunting task for novice traders. It’s a much easier process when they focus their effects into five categories.
  8. Trading

    Introduction to Swing Trading

    The swing trading style, between day trading and trend trading, may be a good one for beginners to try.
  1. Simple Moving Average - SMA

    A simple, or arithmetic, moving average that is calculated by ...
  2. Moving Average - MA

    A moving average (MA) is a technical analysis indicator that ...
  3. Linearly Weighted Moving Average

    A type of moving average that assigns a higher weighting to recent ...
  4. Weighted Average

    An average in which each quantity to be averaged is assigned ...
  5. Portfolio Weight

    The percentage composition of a particular holding in a portfolio. ...
  6. Weighted Alpha

    Weighted alpha is a weighted measure of how much a stock has ...
Hot Definitions
  1. Financial Risk

    Financial risk is the possibility that shareholders will lose money when investing in a company if its cash flow fails to ...
  2. Enterprise Value (EV)

    Enterprise Value (EV) is a measure of a company's total value, often used as a more comprehensive alternative to equity market ...
  3. Relative Strength Index - RSI

    Relative Strength Indicator (RSI) is a technical momentum indicator that compares the magnitude of recent gains to recent ...
  4. Dividend

    A dividend is a distribution of a portion of a company's earnings, decided by the board of directors, to a class of its shareholders.
  5. Inventory Turnover

    Inventory turnover is a ratio showing how many times a company has sold and replaces inventory over a period.
  6. Watchlist

    A watchlist is list of securities being monitored for potential trading or investing opportunities.
Trading Center