InvestorsHub Logo
Followers 113
Posts 24820
Boards Moderated 1
Alias Born 08/23/2006

Re: None

Wednesday, 05/02/2007 8:35:48 PM

Wednesday, May 02, 2007 8:35:48 PM

Post# of 202893
A simple moving average is formed by computing the average (mean) price of a security over a specified number of periods. While it is possible to create moving averages from the Open, the High, and the Low data points, most moving averages are created using the closing price. For example: a 5-day simple moving average is calculated by adding the closing prices for the last 5 days and dividing the total by 5.


10+ 11 + 12 + 13 + 14 = 60


(60 / 5) = 12

The calculation is repeated for each price bar on the chart. The averages are then joined to form a smooth curving line - the moving average line. Continuing our example, if the next closing price in the average is 15, then this new period would be added and the oldest day, which is 10, would be dropped. The new 5-day simple moving average would be calculated as follows:


11 + 12 + 13 + 14 +15 = 65


(65 / 5) = 13

Over the last 2 days, the SMA moved from 12 to 13. As new days are added, the old days will be subtracted and the moving average will continue to move over time.



In the example above, using closing prices from Eastman Kodak (EK), day 10 is the first day possible to calculate a 10-day simple moving average. As the calculation continues, the newest day is added and the oldest day is subtracted. The 10-day SMA for day 11 is calculated by adding the prices of day 2 through day 11 and dividing by 10. The averaging process then moves on to the next day where the 10-day SMA for day 12 is calculated by adding the prices of day 3 through day 12 and dividing by 10.


Salt Creek

Join the InvestorsHub Community

Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.