Simple Moving Average
Finds: A smoothed trend value.
When to use it: Use it to smooth out day-to-day noise in a price or other series so the trend is easier to see.
The formula
In words: SMA = (sum of the last k values) / k
What each symbol means
| SMA_k | Simple moving average over the last k periods | money |
| P_t | Value in the latest period | money |
| k | Window length, the number of periods averaged | periods |
Worked example
A share closed at 100, 102, 101, 105, 107 and 110 over six days. What is the 3-day moving average on the latest day?
| The last k values | 105, 107, 110 | |
| SMA | 107.33 |
The answer
The 3-day moving average is 107.33, below the latest price of 110, which shows the recent upward move.
Want every formula on a few pages?Get the free Cheat Sheet (PDF) →
Calculator
SMA107.33