The moving average (MA) is a simple technical analysis tool that smooths out price data by creating a constantly updated average price. The average is taken over a specific period of time, like 10 days, 20 minutes, 30 weeks, or any time period the trader chooses. There are advantages to using a moving average in your trading, as well options on what type of moving average to use. Moving average strategies are also popular and can be tailored to any time frame, suiting both long term investors and short-term traders. (see "The Top Four Technical Indicators Trend Traders Need to Know.")

Why Use a Moving Average

A moving average can help cut down the amount of "noise" on a price chart. Look at the the direction of the moving average to get a basic idea of which way the price is moving. Angled up and price is moving up (or was recently) overall, angled down and price is moving down overall, moving sideways and the price is likely in a range.

A moving average can also act as support or resistance. In an uptrend a 50-day, 100-day or 200-day moving average may act as a support level, as shown in the figure below. This is because the average acts like a floor (support), so the price bounces up off of it. In a downtrend a moving average may act as resistance; like a ceiling, the price hits it and then starts to drop again.

GE stock chart

The price won't always "respect" the moving average in this way. The price may run through it slightly or stop and reverse prior to reaching it.

As a general guideline, if the price is above a moving average the trend is up. If the price is below a moving average the trend is down. Moving averages can have different lengths though (discussed shortly), so one may indicate an uptrend while another indicates a downtrend.

Types of Moving Averages

A moving average can be calculated in different ways. A five-day simple moving average (SMA) simply adds up the five most recent daily closing prices and divides it by five to create a new average each day. Each average is connected to the next, creating the singular flowing line.

Another popular type of moving average is the exponential moving average (EMA). The calculation is more complex but basically applies more weighting to the most recent prices. Plot a 50-day SMA and a 50-day EMA on the same chart, and you'll notice the EMA reacts more quickly to price changes than the SMA does, due to the additional weighting on recent price data.

Charting software and trading platforms do the calculations, so no manual math is required to use a MA.


One type of MA isn't better than another. An EMA may work better in a stock or financial market for a time, and at other times an SMA may work better. The time frame chosen for a moving average will also play a significant role in how effective it is (regardless of type).

Moving Average Length

Common moving average lengths are 10, 20, 50, 100 and 200. These lengths can be applied to any chart time frame (one minute, daily, weekly, etc), depending on the traders trade horizon.

The time frame or length you choose for a moving average, also called the "look back period", can play a big role in how effective it is.

An MA with a short time frame will react much quicker to price changes than an MA with a long look back period. In the figure below the 20-day moving average more closely tracks the actual price than the 100-day does.

apple MA

The 20-day may be of analytical benefit to a shorter-term trader since it follows the price more closely, and therefore produces less "lag" than the longer-term moving average.

Lag is the time it takes for a moving average to signal a potential reversal. Recall, as a general guideline, when the price is above a moving average the trend is considered up. So when the price drops below that moving average it signals a potential reversal based on that MA. A 20-day moving average will provide many more "reversal" signals than a 100-day moving average.

A moving average can be any length, 15, 28, 89, etc. Adjusting the moving average so it provides more accurate signals on historical data may help create better future signals.

Trading Strategies - Crossovers

Crossovers are one of the main moving average strategies. The first type is a price crossover. This was discussed earlier, and is when the price crosses above or below a moving average to signal a potential change in trend.

Ford ma

Another strategy is to apply two moving averages to a chart, one longer and one shorter. When the shorter MA crosses above the longer term MA it's a buy signal as it indicates the trend is shifting up.This is known as a "golden cross."

When the shorter MA crosses below the longer term MA it's a sell signal as it indicates the trend is shifting down. This is known as a "dead/death cross"



Moving averages are calculated based on historical data, and nothing about the calculation is predictive in nature. Therefore results using moving averages can be random--at times the market seems to respect MA support/resistance and trade signals, and other times it shows no respect.

One major problem is that if the price action becomes choppy the price may swing back and forth generating multiple trend reversal/trade signals. When this occurs it's best to step aside or utilize another indicator to help clarify the trend. The same thing can occur with MA crossovers, where the MAs get "tangled" for a period of time triggering multiple (liking losing) trades.

Moving averages work quite well in strong trending conditions, but often poorly in choppy or ranging conditions.

Adjusting the time frame can aid in this temporarily, although at some point these issues are likely to occur regardless of the time frame chosen for the MA(s).

The Bottom Line

A moving average simplifies price data by smoothing it out and creating one flowing line. This can make isolating trends easier. Exponential moving averages react quicker to price changes than a simple moving average. In some cases this may be good, and in others it may cause false signals. Moving averages with a shorter look back period (20 days, for example) will also respond quicker to price changes than an average with a longer look period (200 days). Moving average crossovers are a popular strategy for both entries and exits. MAs can also highlight areas of potential support or resistance. While this may appear predictive, moving averages are always based on historical data and simply show the average price over a certain time period.

Related Articles
  1. Forex Education

    Moving Average Explosions

    Find out how you can profit from this short squeeze strategy.
  2. Active Trading

    The 7 Pitfalls Of Moving Averages

    While moving averages can be a valuable tool, they are not without risk. Discover the pitalls and how to avoid them.
  3. Trading Strategies

    Double Exponential Moving Averages Explained

    This tweak on moving averages gives traders faster access to the information they need.
  4. Forex Education

    Forex: The Moving Average MACD Combo

    Learn a strategy with clear entry and exit levels that will get you into a trend at the right time.
  5. Forex Education

    Simple Vs. Exponential Moving Averages

    These technical indicators help investors to visualize trends by smoothing out price movements.
  6. Forex Education

    Moving Average Envelopes: Refining A Popular Trading Tool

    Traders can benefit from experimenting with envelopes, which help spot trends after they develop.
  7. Fundamental Analysis

    Exploring The Exponentially Weighted Moving Average

    Learn how to calculate a metric that improves on simple variance.
  8. Active 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?
  9. Forex Education

    Moving Average Bounce

    Find out how this simple trading strategy can be added into your trading arsenal.
  10. Chart Advisor

    ChartAdvisor for November 27 2015

    Weekly technical summary of the major U.S. indexes.
  1. What is the Double Exponential Moving Average (DEMA) formula and how is it calculated?

    Double exponential moving average, or DEMA, is a measure of a security's trending average price that gives the most weight ... Read Full Answer >>
  2. How are moving averages used in trading?

    Moving averages are very popular tools used by technical traders to measure momentum. The main purpose of these averages ... Read Full Answer >>
  3. I keep hearing about the 50-day, 100-day and 200-day moving averages. What do they ...

    Whether you are using the 50-day, 100-day or 200-day moving average, the method of calculation and the manner in which the ... Read Full Answer >>
  4. What is the difference between a simple moving average and an exponential moving ...

    The only difference between these two types of moving average is the sensitivity each one shows to changes in the data used ... Read Full Answer >>
  5. What are some of the most common technical indicators that back up Doji patterns?

    The doji candlestick is important enough that Steve Nison devotes an entire chapter to it in his definitive work on candlestick ... Read Full Answer >>
  6. Tame Panic Selling with the Exhausted Selling Model

    The exhausted selling model is a pricing strategy used to identify and trade based off of the price floor of a security. ... Read Full Answer >>

You May Also Like

Hot Definitions
  1. Take A Flier

    The slang term for a decision to invest in highly speculative investments.
  2. Bar Chart

    A style of chart used by some technical analysts, on which, as illustrated below, the top of the vertical line indicates ...
  3. Take A Bath

    A slang term referring to the situation of an investor who has experienced a large loss from an investment or speculative ...
  4. Black Friday

    1. A day of stock market catastrophe. Originally, September 24, 1869, was deemed Black Friday. The crash was sparked by gold ...
  5. Turkey

    Slang for an investment that yields disappointing results or turns out worse than expected. Failed business deals, securities ...
  6. Barefoot Pilgrim

    A slang term for an unsophisticated investor who loses all of his or her wealth by trading equities in the stock market. ...
Trading Center