rounded corner
rounded corner
top border

Indicator Help

Indicator Index
* Members Only

  1. Accumulation / Distribution
  2. Aroon Oscillator *
  3. Aroon Up/Down *
  4. Average Directional Index
  5. Average True Range
  6. Bollinger Bands
  7. Bollinger Band Width *
  8. Chaikin Money Flow Index *
  9. Chaikin Oscillator *
  10. Chaikin Volatility *
  11. Close Location Value *
  12. Commodity Channel Index
  13. Detrended Price Oscillator *
  14. Donchian Channel *
  15. Donchian Channel Width *
  16. Ease of Movement *
  17. Exponential Moving Average
  18. MACD
  19. Mass Index *
  20. Momentum
  21. Money Flow Index
  22. Negative Volume Index *
  23. On Balance Volume
  24. Pcnt Price Oscillator *
  25. Pcnt Volume Oscillator *
  26. Performance *
  27. Positive Volume Index *
  28. Price Envelope
  29. Price Volume Trend *
  30. Rate of Change
  31. Relative Strength Index
  32. Simple Moving Average
  33. Stochastic - Fast
  34. Stochastic - Slow
  35. Stochastic RSI *
  36. Standard Deviation *
  37. Triple Moving Average *
  38. TRIX *
  39. Ultimate Oscillator
  40. Volume
  41. Weighted Moving Average *
  42. Williams Percent R

Simple Moving Average (SMA)

Not a member? Subscribe now!

A simple moving average (SMA) is the unweighted mean of the previous n data points. For example, a 10-day simple moving average of closing price is the mean of the previous 10 days' closing prices. If those prices are p1 to pn then the formula is

When calculating successive values, a new value comes into the sum and an old value drops out, meaning a full summation each time is unnecessary.

In technical analysis there are various popular values for n, like 10 days, 40 days, or 200 days. The period selected depends on the kind of movement one is concentrating on, such as short, intermediate, or long term. In any case moving average levels are interpreted as support in a rising market, or resistance in a falling market.

In all cases a moving average lags behind the latest price action, simply from the nature of its smoothing. An SMA can lag to an undesirable extent, and can be influenced too much by old prices dropping out of the average. This is addressed by giving extra weight to recent prices, as in the WMA and EMA below.

One charateristic of the SMA is that if the data has a periodic fluctuation, then applying an SMA of that period will eliminate that variation (the average always containing one complete cycle). But a perfectly regular cycle is rarely encountered in economics or finance.


  • Period (20) - the number of bars, or interval, used to calculate the moving average.

Published by Barchart
Home  •  Charts & Quotes  •  Commentary  •  Authors  •  Education  •  Broker Search  •  Trading Tools  •  Help  •  Contact  •  Advertise With Us  •  Commodities
Markets: Currencies  •   Energies  •   Financials  •   Grains  •   Indices  •   Meats  •   Metals  •   Softs

The information contained on is believed to be accurate but is not guaranteed. Market data is furnished on an exchange delayed basis by Data transmission or omissions shall not be made the basis for any claim, demand or cause for action. No information on the site, nor any opinion expressed, constitutes a solicitation of the purchase or sale of any futures or options contracts. is not a broker, nor does it have an affiliation with any broker.

Copyright ©2005-2018, a product. All rights reserved.

About Us  •   Sitemap  •   Legal  •   Privacy Statement