Moving averages (MA) are one of the most popular and often-used technical indicators. The moving average is easy to calculate and, once plotted on a chart, is a powerful visual trend-spotting tool. You will often hear about three types of moving average: simple, exponential and linear. The best place to start is by understanding the most basic: the simple moving average (SMA). Let's take a look at this indicator and how it can help traders follow trends toward greater profits. (For more on moving averages, see our Forex Walkthrough.)

There can be no complete understanding of moving averages without an understanding of trends. A trend is simply a price that is continuing to move in a certain direction. There are only three real trends that a security can follow:

  • An uptrend, or bullish trend, means that the price is moving higher.
  • A downtrend, or bearish trend, means the price is moving lower.
  • A sideways trend, where the price is moving sideways.

The important thing to remember about trends is that prices rarely move in a straight line. Therefore, moving-average lines are used to help a trader more easily identify the direction of the trend. (For more advanced reading on this topic, see The Basics Of Bollinger Bands® and Moving Average Envelopes: Refining A Popular Trading Tool.)

Moving Average Construction
The textbook definition of a moving average is an average price for a security using a specified time period. Let's take the very popular 50-day moving average as an example. A 50-day moving average is calculated by taking the closing prices for the last 50 days of any security and adding them together. The result from the addition calculation is then divided by the number of periods, in this case 50. In order to continue to calculate the moving average on a daily basis, replace the oldest number with the most recent closing price and do the same math.

No matter how long or short of a moving average you are looking to plot, the basic calculations remain the same. The change will be in the number of closing prices you use. So, for example, a 200-day moving average is the closing price for 200 days summed together and then divided by 200. You will see all kinds of moving averages, from two-day moving averages to 250-day moving averages.

It is important to remember that you must have a certain number of closing prices to calculate the moving average. If a security is brand new or only a month old, you will not be able to do a 50-day moving average because you will not have a sufficient number of data points.

Also, it is important to note that we've chosen to use closing prices in the calculations, but moving averages can be calculated using monthly prices, weekly prices, opening prices or even intraday prices. (For more, see our Moving Averages tutorial.)

Figure 1: A simple moving average in Google Inc.

Figure 1 is an example of a simple moving average on a stock chart of Google Inc. (Nasdaq:GOOG). The blue line represents a 50-day moving average. In the example above, you can see that the trend has been moving lower since late 2007. The price of Google shares fell below the 50-day moving average in January of 2008 and continued downward.

When the price crosses below a moving average, it can be used as a simple trading signal. A move below the moving average (as shown above) suggests that the bears are in control of the price action and that the asset will likely move lower. Conversely, a cross above a moving average suggests that the bulls are in control and that the price may be getting ready to make a move higher. (Read more in Track Stock Prices With Trendlines.)

Other Ways to Use Moving Averages
Moving averages are used by many traders to not only identify a current trend but also as an entry and exit strategy. One of the simplest strategies relies on the crossing of two or more moving averages. The basic signal is given when the short-term average crosses above or below the longer term moving average. Two or more moving averages allow you to see a longer term trend compared to a shorter term moving average; it is also an easy method for determining whether the trend is gaining strength or if it is about to reverse. (For more on this method, read A Primer On The MACD.)

Figure 2: A long-term and shorter term moving average in Google Inc.

Figure 2 uses two moving averages, one long-term (50-day, shown by the blue line) and the other shorter term (15-day, shown by the red line). This is the same Google chart shown in Figure 1, but with the addition of the two moving averages to illustrate the difference between the two lengths.

You'll notice that the 50-day moving average is slower to adjust to price changes, because it uses more data points in its calculation. On the other hand, the 15-day moving average is quick to respond to price changes, because each value has a greater weighting in the calculation due to the relatively short time horizon. In this case, by using a cross strategy, you would watch for the 15-day average to cross below the 50-day moving average as an entry for a short position.

Figure 3: A three-month

The above is a three-month chart of United States Oil (AMEX:USO) with two simple moving averages. The red line is the shorter, 15-day moving average, while the blue line represents the longer, 50-day moving average. Most traders will use the cross of the short-term moving average above the longer-term moving average to initiate a long position and identify the start of a bullish trend. (Learn more about applying this strategy in Trading The MACD Divergence.)

Support and Resistance
Support and resistance, or ceilings and floors, refer to the same thing in technical analysis.

  • Support is established when a price is trending downward. There is a point at which the selling pressure subsides and buyers are willing to step in. In other words, a floor is established.
  • Resistance happens when a price is trending upward. There comes a point when the buying strength diminishes and the sellers step in. This would establish a ceiling. (For more explanation, read Support & Resistance Basics.)

In either case, a moving average may be able to signal an early support or resistance level. For example, if a security is drifting lower in an established uptrend, then it wouldn't be surprising to see the stock find support at a long-term 200-day moving average. On the other hand, if the price is trending lower, many traders will watch for the stock to bounce off the resistance of major moving averages (50-day, 100-day, 200-day SMAs). (For more on using support and resistance to identify trends, read Trend-Spotting With The Accumulation/Distribution Line.)

Moving averages are powerful tools. A simple moving average is easy to calculate, which allows it to be employed fairly quickly and easily. A moving average's greatest strength is its ability to help a trader identify a current trend or spot a possible trend reversal. Moving averages can also identify a level of support or resistance for the security, or act as a simple entry or exit signal. How you choose to use moving averages is entirely up to you.

For further reading on moving averages, check out Simple Moving Averages And Volume Rate-Of-Change and Basics Of Weighted Moving Averages.

Related Articles
  1. Investing

    Where the Price is Right for Dividends

    There are two broad schools of thought for equity income investing: The first pays the highest dividend yields and the second focuses on healthy yields.
  2. Chart Advisor

    Pay Attention To These Stock Patterns Playing Out

    The stocks are all moving different types of patterns. A breakout could signal a major price move in the trending direction, or it could reverse the trend.
  3. Chart Advisor

    Now Could Be The Time To Buy IPOs

    There has been lots of hype around the IPO market lately. We'll take a look at whether now is the time to buy.
  4. Investing

    10 Cheap Vacations for the Ultimate Foodie

    If you are a foodie then explore one of these destinations in 2016.
  5. Chart Advisor

    Copper Continues Its Descent

    Copper prices have been under pressure lately and based on these charts it doesn't seem that it will reverse any time soon.
  6. Technical Indicators

    Using Pivot Points For Predictions

    Learn one of the most common methods of finding support and resistance levels.
  7. Chart Advisor

    Watch These Stocks for Breakouts

    These four stocks are moving within price patterns of various size, shape and duration, and are worth watching for a breakout
  8. Trading Strategies

    How to Trade In a Flat Market

    Reduce position size by 50% to 75% in a flat market.
  9. Chart Advisor

    ChartAdvisor for November 20 2015

    Weekly technical summary of the major U.S. indexes.
  10. Chart Advisor

    Like Ranges? These Are Stocks to Consider

    Whether you want to trade the price fluctuations within a range, or await a breakout, here are four stocks for you.
  1. What is the Detrended Price Oscillator (DPO) formula and how is it calculated?

    The fundamental belief in technical analysis is that past trading activity can be measured and used to estimate future trading ... Read Full Answer >>
  2. Can working capital be too high?

    A company's working capital ratio can be too high in the sense that an excessively high ratio is generally considered an ... Read Full Answer >>
  3. 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 >>
  4. How do I use discounted cash flow (DCF) to value stock?

    Discounted cash flow (DCF) analysis can be a very helpful tool for analysts and investors in equity valuation. It provides ... Read Full Answer >>
  5. 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 >>
  6. Point and Figure Charting Using Count Analysis

    Count analysis is a means of interpreting point and figure charts to measure vertical price movements. Technical analysts ... Read Full Answer >>

You May Also Like

Hot Definitions
  1. Turkey

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

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

    The quick ratio is an indicator of a company’s short-term liquidity. The quick ratio measures a company’s ability to meet ...
  4. Black Tuesday

    October 29, 1929, when the DJIA fell 12% - one of the largest one-day drops in stock market history. More than 16 million ...
  5. Black Monday

    October 19, 1987, when the Dow Jones Industrial Average (DJIA) lost almost 22% in a single day. That event marked the beginning ...
  6. Monetary Policy

    Monetary policy is the actions of a central bank, currency board or other regulatory committee that determine the size and ...
Trading Center