Moving averages are used to smooth out market volatility and identify changes in trend.
Indicator Type
Trend follower
Works Best
Trending markets
Formula
Moving averages can be calculated from open, high, low, close or some combination of these data. Simple averages are means of the data. Other averages assign higher significance to recent data than to older data.
Allows you to calculate the average based on open, high, low, close or adjusted close data.
You also have a choice of several average types as follows.
- Simple: mean (average) of the data.
- Exponential: newer data are weighted more heavily geometrically.
- Time Series: Calculates a linear regression trendline using the “least squares fit” method.
- Triangular: Weighted average where the middle data are given the most weight, decreasing linearly to the end points.
- Variable: An exponential moving average with a volatility index factored into the smoothing formula. The Variable Moving average uses the Chande Momentum Oscillator as the volatility index.
- VIDYA: An exponential moving average with a volatility index factored into the smoothing formula. The VIDYA moving average uses the Standard Deviation as the volatility index. (Volatility Index DYnamic Average)
- Weighted: newer data are weighted more heavily arithmetically.
- Welles Wilder: The standard exponential moving average formula converts the time period to a fraction using the formula EMA% = 2/(n + 1) where n is the number of days. For example, the EMA% for 14 days is 2/(14 days +1) = 13.3%. Wilder, however, uses an EMA% of 1/14 (1/n) which equals 7.1%. This equates to a 27-day exponential moving average using the standard formula.
- Hull: Developed by AlanHull, is an extremely fast and smooth moving average.
- Double Exponential: Developed by Patrick Mulloy. The name double comes from the fact that the value of an EMA is doubled. To keep it in line with the actual data and to remove the lag the value "EMA of EMA" is subtracted from the previously doubled ema.
- Triple Exponential: Developed by Patrick Mulloy. The value of an EMA is tripled. To keep it in line with the actual data and to remove the lag the value "EMA of EMA" is subtracted 3 times from the previously tripled ema. Finally "EMA of EMA of EMA" is added.
Parameters
Intraday traders use 3- and 5-day averages of highs and of lows. Stock traders use 200- and 50-day averages. Long-term traders use 40 and 52-week averages.
Theory
The direction of the moving average (higher, lower or flat) indicates the trend of the market and its slope indicates the strength of the trend. Longer averages are used to identify longer-term trends and shorter averages are used to identify shorter-term trends. Many trading systems utilize moving averages as independent variables and market analysts frequently use moving averages to confirm technical breakouts.
Interpretation
Typical analysis involves price crossovers with the average. It is a lagging indicator but can confirm that a change in trend has taken place. When coupled with a trend line or support/resistance violation, the signal becomes quite reliable. Averages give traders an idea of support and resistance areas but they should not be used alone to determine trade triggers. Overshoots of averages are common although using an envelope of the averages of highs and of lows can help mitigate this.