Moving Averages: What Are They?
  1. Moving Averages: Introduction
  2. Moving Averages: What Are They?
  3. Moving Averages: How To Use Them
  4. Moving Averages: Factors To Consider
  5. Moving Averages: Strategies
  6. Moving Averages: Different Flavors
  7. Moving Averages: Conclusion

Moving Averages: What Are They?


By Casey Murphy, Senior Analyst ChartAdvisor.com

Among the most popular technical indicators, moving averages are used to gauge the direction of the current trend. Every type of moving average (commonly written in this tutorial as MA) is a mathematical result that is calculated by averaging a number of past data points. Once determined, the resulting average is then plotted onto a chart in order to allow traders to look at smoothed data rather than focusing on the day-to-day price fluctuations that are inherent in all financial markets.

The simplest form of a moving average, appropriately known as a simple moving average (SMA), is calculated by taking the arithmetic mean of a given set of values. For example, to calculate a basic 10-day moving average you would add up the closing prices from the past 10 days and then divide the result by 10. In Figure 1, the sum of the prices for the past 10 days (110) is divided by the number of days (10) to arrive at the 10-day average. If a trader wishes to see a 50-day average instead, the same type of calculation would be made, but it would include the prices over the past 50 days. The resulting average below (11) takes into account the past 10 data points in order to give traders an idea of how an asset is priced relative to the past 10 days.

Figure 1

Perhaps you're wondering why technical traders call this tool a "moving" average and not just a regular mean? The answer is that as new values become available, the oldest data points must be dropped from the set and new data points must come in to replace them. Thus, the data set is constantly "moving" to account for new data as it becomes available. This method of calculation ensures that only the current information is being accounted for. In Figure 2, once the new value of 5 is added to the set, the red box (representing the past 10 data points) moves to the right and the last value of 15 is dropped from the calculation. Because the relatively small value of 5 replaces the high value of 15, you would expect to see the average of the data set decrease, which it does, in this case from 11 to 10.

Figure 2

What Do Moving Averages Look Like?
Once the values of the MA have been calculated, they are plotted onto a chart and then connected to create a moving average line. These curving lines are common on the charts of technical traders, but how they are used can vary drastically (more on this later). As you can see in Figure 3, it is possible to add more than one moving average to any chart by adjusting the number of time periods used in the calculation. These curving lines may seem distracting or confusing at first, but you'll grow accustomed to them as time goes on. The red line is simply the average price over the past 50 days, while the blue line is the average price over the past 100 days.

Figure 3

Now that you understand what a moving average is and what it looks like, we'll introduce a different type of moving average and examine how it differs from the previously mentioned simple moving average.

The simple moving average is extremely popular among traders, but like all technical indicators, it does have its critics. Many individuals argue that the usefulness of the SMA is limited because each point in the data series is weighted the same, regardless of where it occurs in the sequence. Critics argue that the most recent data is more significant than the older data and should have a greater influence on the final result. In response to this criticism, traders started to give more weight to recent data, which has since led to the invention of various types of new averages, the most popular of which is the exponential moving average (EMA). (For further reading, see Basics Of Weighted Moving Averages and What's the difference between an SMA and an EMA?)

Exponential Moving Average
The exponential moving average is a type of moving average that gives more weight to recent prices in an attempt to make it more responsive to new information. Learning the somewhat complicated equation for calculating an EMA may be unnecessary for many traders, since nearly all charting packages do the calculations for you. However, for you math geeks out there, here is the EMA equation:

Figure 4

When using the formula to calculate the first point of the EMA, you may notice that there is no value available to use as the previous EMA. This small problem can be solved by starting the calculation with a simple moving average and continuing on with the above formula from there. We have provided you with a sample spreadsheet that includes real-life examples of how to calculate both a simple moving average and an exponential moving average.



The Difference Between the EMA and SMA
Now that you have a better understanding of how the SMA and the EMA are calculated, let's take a look at how these averages differ. By looking at the calculation of the EMA, you will notice that more emphasis is placed on the recent data points, making it a type of weighted average. In Figure 5, the numbers of time periods used in each average is identical (15), but the EMA responds more quickly to the changing prices. Notice how the EMA has a higher value when the price is rising, and falls faster than the SMA when the price is declining. This responsiveness is the main reason why many traders prefer to use the EMA over the SMA.

Figure 5


What Do the Different Days Mean?
Moving averages are a totally customizable indicator, which means that the user can freely choose whatever time frame they want when creating the average. The most common time periods used in moving averages are 15, 20, 30, 50, 100 and 200 days. The shorter the time span used to create the average, the more sensitive it will be to price changes. The longer the time span, the less sensitive, or more smoothed out, the average will be. There is no "right" time frame to use when setting up your moving averages. The best way to figure out which one works best for you is to experiment with a number of different time periods until you find one that fits your strategy.
Moving Averages: How To Use Them

  1. Moving Averages: Introduction
  2. Moving Averages: What Are They?
  3. Moving Averages: How To Use Them
  4. Moving Averages: Factors To Consider
  5. Moving Averages: Strategies
  6. Moving Averages: Different Flavors
  7. Moving Averages: Conclusion
RELATED TERMS
  1. Linearly Weighted Moving Average

    A type of moving average that assigns a higher weighting to recent ...
  2. Average Price

    1. A representative measure of a range of prices that is calculated ...
  3. Average Return

    The simple mathematical average of a series of returns generated ...
  4. Percentage Price Oscillator - PPO

    A technical momentum indicator showing the relationship between ...
  5. Death Cross

    A crossover resulting from a security's long-term moving average ...
  6. Weighted Average

    An average in which each quantity to be averaged is assigned ...
RELATED FAQS
  1. 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 Answer >>
  2. Are exponential moving averages more effective than simple or weighted moving averages?

    Learn about different types of moving averages, as well as moving average crossovers, and understand how they are used in ... Read Answer >>
  3. What are the main disadvantages of using the Exponential Moving Average (EMA)?

    Discover the primary differences between exponential and simple moving average indicators, and what disadvantages EMAs can ... Read Answer >>
  4. What is the Exponential Moving Average (EMA) formula and how is the EMA calculated?

    Learn the formula for calculating both simple moving averages and exponential moving averages, indicators that are frequently ... Read Answer >>
  5. 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 >>
  6. 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 Answer >>
Hot Definitions
  1. Labor Market

    The labor market refers to the supply and demand for labor, in which employees provide the supply and employers the demand. ...
  2. Demand Curve

    The demand curve is a graphical representation of the relationship between the price of a good or service and the quantity ...
  3. Goldilocks Economy

    An economy that is not so hot that it causes inflation, and not so cold that it causes a recession. This term is used to ...
  4. White Squire

    Very similar to a "white knight", but instead of purchasing a majority interest, the squire purchases a lesser interest in ...
  5. MACD Technical Indicator

    Moving Average Convergence Divergence (or MACD) is a trend-following momentum indicator that shows the relationship between ...
  6. Over-The-Counter - OTC

    Over-The-Counter (or OTC) is a security traded in some context other than on a formal exchange such as the NYSE, TSX, AMEX, ...
Trading Center