The average price of the last n periods: the simplest and most widely used trend filter.
What the indicator measures
The SMA (simple moving average) smooths price swings into a calm line. It shows the average direction of price over a period.
How it’s calculated, in plain words
Add up the closing prices of the last n periods and divide by n. In the next period the oldest value drops out and the newest one is added. That is why it is called “moving”.
Default settings
| Length | Use |
|---|---|
| 10 / 20 | short-term trend |
| 50 | medium-term trend |
| 200 | long-term trend, watched worldwide |
How it’s used
- Trend filter: Price above a rising SMA → long trades only. Price below a falling SMA → no long trades.
- Dynamic zone: In trends, pullbacks often run to somewhere near an average.
- Crossovers: e.g. the 50 crossing above the 200 (golden cross). They come late and describe a state more than they give a signal.
Strengths and weaknesses
| Strengths | Weaknesses |
|---|---|
| Simple and calculated the same way for everyone | Always lags behind |
| Very widespread: the 200-day SMA is watched worldwide | Many false signals in sideways phases |
| Good filter against trades against the trend | Every price counts equally, even old ones |
Combining it with other tools
Works best with horizontal zones and candle confirmation. A pullback to the SMA that ends right at old support and turns with a hammer is much stronger than the SMA alone.
Test yourself
The last three closing prices: €20, €22 and €24. What is the SMA 3?
Key takeaways
- The average of the last n closing prices.
- Best used as a trend filter and dynamic zone.
- Always lags behind price.
More detail in the learning path: Moving averages.