Moving averages (MA) are a popular trading tool. Unfortunately, they are prone to giving false signals in choppy markets. By applying an envelope to the moving average, some of these whipsaw trades can be avoided, and traders can increase their profits. (For background reading on this reliable and useful indicator, see our Moving Averages tutorial.)

What Is an Envelope?
Moving averages are among the easiest-to-use tools available to market technicians. A simple moving average is calculated by adding the closing prices of a stock over a specified number of time periods, usually days or weeks. As an example, a 10-day simple moving average is calculated by adding the closing prices over the last 10 days and dividing the total by 10. The process is repeated the next day, using only the most recent 10 days of data. The daily values are joined together to create a data series, which can be graphed on a price chart. This technique is used to smooth the data and identify the underlying price trend. (Learning to analyze charts can be a big help when making trading decisions. Check out the Analyzing Chart Patterns tutorial to learn how.)

Simple buy signals occur when prices close above the moving average; sell signals occur when prices fall below the moving average. This idea is illustrated in Figure 1. The large arrows show winning trades, while the smaller arrows show losing trades, when trading costs are considered.

Figure 1: The monthly chart of Starbucks shows that a simple moving average crossover system would have caught the big trends.
Source: TradeNavigator


Drawbacks of Envelopes
The problem with relying on moving averages to define trading signals is easy to spot in Figure 1. While the winning trade shown in that chart was very large, there were five trades that led to small gains or losses over a five-year period. It is doubtful that many traders would have the discipline to stick with the system to enjoy the big winners. (For related reading, see Patience Is A Trader's Virtue.)

To limit the number of whipsaw trades, some technicians proposed adding a filter to the moving average. They added lines that were a certain amount above and below the moving average to form envelopes. Trades would only be taken when prices moved through these filter lines, which were called envelopes because they enveloped the original moving average line. The strategy of placing the lines 5% above and below the moving average to form an envelope is illustrated in Figure 2.

Figure 2: Adding lines 5% above and below the moving average forms moving-average envelopes.
Source: TradeNavigator

In theory, moving-average envelopes work by not showing the buy or sell signal until the trend is established. Analysts reasoned that requiring a close of 5% above the moving average before going long should prevent the rapid whipsaw trades that are prone to losses. In practice, what they did was raise the whipsaw line; as it it turned out, there were just as many whipsaws, but they occurred at different price levels. (Learn how a change in market direction can be your ticket to big returns in Turnaround Stocks: U-Turn To High Returns.)

Another drawback to using envelopes in this way is that it delays the entry on winning trades and gives back more profits on losing trades.

Making Envelopes Work Better
The goal of using moving averages or moving-average envelopes is to identify trend changes. Often, the trends are large enough to offset the losses incurred by the whipsaw trades, which makes this a useful trading tool for those willing to accept a low percentage of profitable trades. (For more on identifying market trends, read Short-, Intermediate- and Long-Term Trends.)

However, astute market observers noticed another use for the envelopes. In Figure 3, we show a weekly chart of Starbucks with a 20-week moving average and envelopes set 20% above and below the moving average. Most of the time, when prices touch the envelope lines, prices reverse. But there are some times when they continue trending, leading to losses.

Figure 3: Wider envelopes are useful for spotting short-term trend reversals.
Source: TradeNavigator

Among the earliest proponents of this countertrend strategy was Chester Keltner. In his 1960 book, "How to Make Money in Commodities", he defined the idea of Keltner bands and used slightly more complex calculations. Instead of using the close to find his moving average, he used the typical price, which is defined as the average of the high, low and close. Instead of drawing fixed-percentage envelopes, Keltner varied the width of the envelope by setting it to a 10-day simple moving average of the daily range (which is the high minus the low). This method is illustrated in Figure 4. (For a closer look at Keltner channels, read Discovering Keltner Channels And The Chaikin Oscillator.)

Figure 4: Keltner bands contain most of the price action, and short-term traders may find them useful as a countertrend system.
Source: TradeNavigator

Buy signals are generated when prices touch the lower band, represented by the green line in Figure 4. While Keltner bands are an improvement over the set-percentage moving-average envelope, large losses are still possible. As can be seen on the right side of the chart, the last time prices touched the lower envelope in this chart, they continued to fall. A simple stop-loss would prevent losses from growing too large and make Keltner bands, or a simpler moving-average envelope, a tradable system with profit potential for traders on all time frames. (Read about the importance of the stop-loss order in The Stop-Loss Order: Make Sure You Use It.)

Later, John Bollinger built upon the idea of moving-average envelopes and Keltner bands to develop Bollinger Bands®, which enveloped a simple moving average with lines two standard deviations above and below the moving average. This is a mathematically precise way of implementing envelopes to achieve a high number of winning trades because Bollinger Bands® are designed to contain 95% of the price action. (Learn more about Keltner channels and Bollinger Bands® in Capture Profits Using Bands And Channels.)

Conclusion
Moving-average envelopes offer a useful tool for spotting trends after they develop. More precise tools based on the same idea, like Keltner bands or Bollinger Bands®, are useful for identifying high-probability turning points in short-term trends. All traders can benefit from experimenting with these technical tools.

Related Articles
  1. Trading Strategies

    How To Buy Penny Stocks (While Avoiding Scammers)

    Penny stocks are risky business. If want to trade in them, here's how to preserve your trading capital and even score the occasional winner.
  2. Investing Basics

    5 Things to "Deliberately" Do to Improve Your Trading

    Most traders are putting in trading hours, but not improving. Here are deliberate steps that can take your trading to the next level.
  3. Chart Advisor

    Stocks to Short...When the Dust Settles

    Four short trades to consider, but not quite yet. Let the dust settle and wait for a pullback to resistance for a higher probability trade.
  4. Technical Indicators

    Using Moving Averages To Trade The Volatility Index (VIX)

    VIX moving averages smooth out the natural choppiness of the indicator, letting traders and market timers access reliable sentiment and volatility data.
  5. Chart Advisor

    Traders Step Back to Assess Commodities Damage

    Traders are turning to these exchange-traded notes and exchange-traded funds to analyze key commodities and determine what could be coming next.
  6. Trading Strategies

    Are You a Trend Trader or a Swing Trader?

    Swing traders and trend traders execute market timing strategies that require different skill sets.
  7. Technical Indicators

    Detrended Price Oscillator Trading Strategies

    The detrended price oscillator (DPO) offers a simple approach to cycle analysis, removing momentum and long-term trends from the equation.
  8. Investing

    Using Fibonacci to Analyze Gold

    Use Fibonacci studies to analyze gold by picking out hidden harmonic levels that can provide major support or resistance.
  9. Chart Advisor

    Real Estate Investment Trust ETFs Offer Stability

    Risk-averse traders are turning to real estate investment trusts. We'll look at a popular real estate investment trust ETF and few of its top holdings.
  10. Trading Systems & Software

    Use Price Action Trading Strategy for Results

    Bored by the fixed rules of technical and fundamental analysis? Price action trading allows you to customize your own trading strategy.
RELATED TERMS
  1. Indicator

    Indicators are statistics used to measure current conditions ...
  2. Intraday Momentum Index (IMI)

    A technical indicator that combines aspects of candlestick analysis ...
  3. Forex Spread Betting

    A category of spread betting that involves taking a bet on the ...
  4. Mass Index

    A form of technical analysis that looks at the range between ...
  5. Money Flow Index - MFI

    A momentum indicator that uses a stock’s price and volume to ...
  6. On-Balance Volume (OBV)

    A momentum indicator that uses volume flow to predict changes ...
RELATED FAQS
  1. How do I use Moving Average Envelopes to create a forex trading strategy?

    Moving average envelopes are percentage-based envelopes set above and below a moving average trendline. It doesn't matter ... Read Full Answer >>
  2. What is a common strategy traders implement when using Moving Average Envelopes?

    Apply a moving average envelope to a price chart by adding upper and lower moving bands a percentage above and below a standard ... Read Full Answer >>
  3. What is a common strategy traders implement when using the Dual Commodity Channel ...

    The DUAL Commodity Channel Index, or DCCI, is a type of moving average crossover technique. Since it is based on the interaction ... Read Full Answer >>
  4. How are double exponential moving averages applied in technical analysis?

    Double exponential moving averages (DEMAS) are commonly used in technical analysis like any other moving average indicator ... Read Full Answer >>
  5. What are the alert zones in a Fibonacci retracement?

    The most commonly used Fibonacci retracement alert levels are at 38.2% and 61.8%. A 50% retracement level is also commonly ... Read Full Answer >>
  6. How was the Fibonacci retracement developed for use in finance?

    The use of Fibonacci retracements in stock trading was popularized by noted technical analysts W.D. Gann and R.N. Elliott. ... Read Full Answer >>

You May Also Like

Trading Center
×

You are using adblocking software

Want access to all of Investopedia? Add us to your “whitelist”
so you'll never miss a feature!