The SMA (simple moving average) is the plain average of the last n closing prices, moving forward a little every day.
What does the SMA mean?
You add up the closing prices of the last n candles and divide by n. With the next candle the oldest drops out and the new one is added. Every price in the window counts equally. Short lengths such as 20 follow the price closely, long ones such as 200 smooth strongly. Common lengths are 20 for a month, 50 for a quarter and 200 for a stock market year, each in trading days.
Example with model figures
Three closing prices of a model stock: 10, 12 and 11. The SMA 3 is (10 + 12 + 11) : 3 = 11. The next day the stock closes at 14 and the 10 drops out: (12 + 11 + 14) : 3 = 12.33. The SMA has risen by 1.33 although the price rose by 3 – it lags. If a very high price later leaves the window, the SMA can fall even though the new price has risen.
How to read it
The moving average shows the direction of the trend without the noise of single days. The longer it is, the later it reacts. You should know the “old price drops out” effect: an outlier 20 days ago moves the SMA 20 today although nothing new has happened. The EMA weights new prices more heavily and avoids this jump.
Common mistakes
A widespread mistake is to search for the “right” length until the line fits the past perfectly. That is fitting to old data and rarely holds. Second, averages of different timeframes are confused: the SMA 50 on weekly candles covers almost a year, on daily candles a quarter. Third, people overlook that every SMA consists of past prices. Each line confirms what has already happened and says nothing about what comes next.
How to use it on TickerEagle
In the screener you filter by position relative to the 20-, 50- and 200-day lines. The trend by timeframe uses the SMA 200 as one of three checks for week, day and 4 hours.