Smoothing Financial Time Series: Moving Averages, Trends and Lost Information
Table of Contents
A stock falls sharply at the close. A moving average softens the drop, which can help you read the direction of the series over several sessions. The same smoothing can hide the size of the loss if you use the average to monitor risk. The choice depends on whether you need to explain the longer move, act on today’s information or check how up to date the original prices are.
What Does Smoothing Do to a Financial Time Series?
Smoothing replaces each observation with a value calculated from nearby observations. A simple moving average gives equal weight to every value in its window. Simple exponential smoothing updates an estimate of the current level and gives progressively less weight to older observations. Both can make a price chart easier to read when you care about changes over several periods.[1][2]
Use the smooth line to summarize direction. To measure a day’s price return, compare unsmoothed closes on the same share basis after accounting for any split. For total return, count distributions once. A smooth line can mute an important price move along with the small fluctuations you meant to average out.[9]
Simple Moving Average and Exponential Smoothing Formulas
Let Pt be the closing price in trading session t. A trailing SMA includes that close and the preceding closes. Each new observation receives weight 1 / N, where N is the window length. The oldest observation drops out at the same update.[1]
For simple exponential smoothing, initialize the level with the first close in this example. On each later session, the parameter alpha sets the fraction of the gap from the previous level to the new close that the estimate covers. A larger alpha makes each update more responsive.[2][3]
An exponential moving average of prices uses this same update. The level on a given row uses that session’s close. If you also use the level as a simple exponential smoothing forecast, it forecasts the next session’s close.[2][3]
Worked Example: One Price Drop, Two Filters
Suppose a stock closes at $100 in each of the five trading sessions from Feb. 2 through Feb. 6, 2026. On Feb. 9 it drops to $88 and closes at $88 for all five sessions that week. Compare a trailing five-session SMA with exponential smoothing at alpha equal to exactly 1/3, initialized with the Feb. 2 close. The stock pays no distributions in the example. Both filters update after each session ends.
The five-session SMA takes in the new $88 close and keeps four $100 closes, giving (4 × $100 + $88) / 5 = $97.60. The exponential estimate starts the session at $100 and moves one-third of the $12 gap to the new close, giving $100 − $12 / 3 = $96.00.
| Session (2026) | Close | 5-session SMA | Exp. level |
|---|---|---|---|
| Feb. 2 | 100.00 | — | 100.00 |
| Feb. 3 | 100.00 | — | 100.00 |
| Feb. 4 | 100.00 | — | 100.00 |
| Feb. 5 | 100.00 | — | 100.00 |
| Feb. 6 | 100.00 | 100.00 | 100.00 |
| Feb. 9 | 88.00 | 97.60 | 96.00 |
| Feb. 10 | 88.00 | 95.20 | 93.33 |
| Feb. 11 | 88.00 | 92.80 | 91.56 |
| Feb. 12 | 88.00 | 90.40 | 90.37 |
| Feb. 13 | 88.00 | 88.00 | 89.58 |
The SMA column starts when five closes are available. On Feb. 9 the stock lost 12% from the prior close, while the SMA fell 2.4% and the exponential level fell 4%. Those smaller moves are changes in the estimates. A loss alert based on either smooth line would understate the day’s price move in this example.
How the Two Filters Catch Up
Both filters react as soon as the new close arrives. Their lag shows up in how much of the move they reflect and how long earlier prices matter.
Trailing SMA
With each new $88 close through Feb. 13, a $100 close drops out of the window. The average reaches $88 on Feb. 13, when all five closes in its window are $88.
Simple exponential smoothing
The new close has one-third weight here, compared with one-fifth in the SMA. The exponential level moves farther on Feb. 9. Each update then closes one-third of the remaining gap, leaving the level about $1.58 above the price on Feb. 13.
Lengthening the SMA window or lowering alpha generally gives you a steadier line that takes longer to reflect a sustained move. Pick a setting for the period over which you need to make a decision. A monthly review of a price trend can tolerate a different delay from a daily loss alert. Compare results at nearby settings and keep the unsmoothed series visible.[1][2]
A Historical Trend and a Real-Time Signal
A centered moving average places each window’s result on its middle date. A centered five-session average includes two earlier closes, the middle close and two later closes. In the example, the centered value plotted on Feb. 5 is $97.60 because that window already includes the Feb. 9 drop. Someone reviewing prices on Feb. 5 would have to wait for the Feb. 9 close to compute it. A complete centered window also leaves the first two and latest two sessions blank.[1][4]
The Hodrick–Prescott filter, developed in a study of postwar U.S. business cycles, estimates a trend by balancing fit to the observed series against a penalty for changes in the trend’s slope. A stronger penalty gives a smoother path. A full-sample estimate can use observations on both sides of a historical date. James Hamilton compared that result for the S&P 500 with estimates recomputed using the sample ending at each date. The perceived stock market trend differed substantially. The filter can also introduce apparent cycles or dependencies that come from the filtering procedure.[5][6]
For a decision or backtest, the observation date and the date you could obtain the value both matter. The U.S. Bureau of Labor Statistics released the January 2026 CPI at 8:30 a.m. ET on Feb. 13. A bond allocation tested as of Jan. 31 could only use releases available by that cutoff. For economic series that are revised, use the version available at each decision date. In a trading backtest based on closing prices, likewise distinguish the time a close becomes known from the time a trade can be executed.[4][8]
When Stale Prices Smooth Reported Returns
Illiquid assets may already show smooth returns before you apply any filter. A valuation may rely on an old transaction, a stale quote, or a model whose inputs update gradually. As a result, reported returns can reflect part of an economic gain or loss in later periods. Getmansky, Lo and Makarov modeled this mechanism in hedge fund returns. Overlapping effects from the same price move can create serial correlation, or correlation between a return series and its own values one or more periods earlier. Under their model, smoothing can understate volatility and raise the apparent one-period Sharpe ratio when expected excess return is positive.[7]
Suppose an illiquid holding worth $100 at January month-end falls to $90 in February and stays there through April. Its reported values at the end of February, March and April are $100, $95 and $90. With no cash flows, the economic value drops 10% in February. The marks show 0% in February, $95 / $100 − 1 = −5% in March and $90 / $95 − 1 ≈ −5.26% in April. Both paths end 10% below the starting value. The reported path makes the worst month appear to be a 5.26% loss.
Unsmoothing estimates an underlying return path from a model of how quickly valuations adjust. Suppose a model puts 75% weight on the current economic return and 25% on the previous one. With a previous economic return of 0%, a reported return of −9% implies an estimated current return of (−9% − 0.25 × 0%) / 0.75 = −12%. If the next reported return is −3%, subtract the prior month’s contribution of 0.25 × (−12%) and divide by 0.75. The next estimated return is 0%. These results depend on the assumed weights and starting value. In practice, the weights and the economic returns must be inferred, and estimates can be sensitive to the model and the quality of the marks.[7]
When comparing a fund’s risk with that of a more liquid investment, look at the age and source of the marks, the valuation schedule, the terms for accessing your money and any evidence from actual sales. A smooth track record can coexist with large losses or difficulty selling. Serial correlation can have other causes, so use it as a reason to investigate the marks and exposures.[7]
How to Apply a Smoother to Market Data
- Define a comparable input series. Use one price field and one completed observation per intended session. Use raw closes for the prices quoted on those dates. For price returns, put closes on a split-consistent basis and exclude distributions. For total return, use a series that already includes distributions or account for the distributions in the return calculation using prices and payouts on the same share basis.[9]
- Calculate both estimates from the same dated prices. Sort dates oldest to newest. In a spreadsheet, average the most recent five closes for each complete SMA window. Start the exponential column with the first close, then combine each new close and the previous estimate using the weights in the formula. Keep full precision and round for display.[1][2]
- Choose the comparison that matches your decision. For a historical trend, look at the original series and check the endpoints. For forecasting, test a rule chronologically on later observations. Compare it with a baseline such as using the last close as the next-close forecast, evaluated over the same dates and horizon.[4]
Common Mistakes When Smoothing Financial Data
- Assuming five worksheet rows contain five closes. A weekend or exchange holiday does not add a trading session. Check a gap on an expected trading day and document how you deal with it. Excel’s
AVERAGEskips blank cells but includes numeric zero, so these treatments can produce different results from the same incomplete window.[9][10] - Comparing two lines with different inputs. Confirm the exchange, interval, price field and adjustments. For the exponential estimate also confirm alpha, the seed and how much prior history went into it.[2][3][9]
- Choosing settings with the benefit of hindsight. A parameter tuned on the full sample can benefit from observations that were unavailable when an earlier signal would have been generated. Tune it on an earlier period and evaluate on later data, or repeat the tuning and test across successive historical cutoffs.[4]
What Can a Smooth Series Tell You?
A price gap can reflect new information or a data problem. The smoother averages it either way. For a position-size decision, a drawdown calculation or an event-day comparison, check the move against the original data and investigate the event. Use the smooth line when the question is how the observed series has moved over a broader period.[4]
Frequently Asked Questions
You can use today’s updated level as a forecast. At that forecast origin, the basic model predicts that same level for each future session. Its forecast stays flat across horizons because the model has no separate trend or seasonal component. Test it against a last-close forecast before relying on it.[2][4]
A centered average over a full seasonal cycle can help estimate the trend in classical decomposition. Estimating and removing the recurring seasonal pattern is a separate step. In the monthly CPI, for example, BLS uses estimated seasonal factors and revises recent seasonally adjusted history as those estimates change.[4][8]
Use the underlying price or total-return series for the holding period you are measuring. The change in the smooth level describes how the filter moved. In the worked example the exponential level kept declining after Feb. 9 even though the stock’s closing price stayed at $88.
Sources
- NIST/SEMATECH e-Handbook of Statistical Methods, Single Moving Average and Centered Moving Average.
- Rob J. Hyndman and George Athanasopoulos, Forecasting: Principles and Practice, 3rd ed., Simple exponential smoothing.
- NIST/SEMATECH e-Handbook of Statistical Methods, Single Exponential Smoothing and EWMA Control Charts.
- Hyndman and Athanasopoulos, Forecasting: Principles and Practice, 3rd ed., Moving averages and decomposition and Time series cross-validation.
- Robert J. Hodrick and Edward C. Prescott, Postwar U.S. Business Cycles: An Empirical Investigation, Journal of Money, Credit and Banking, February 1997.
- James D. Hamilton, Why You Should Never Use the Hodrick–Prescott Filter, NBER Working Paper 23429, May 2017, including Figure 4.
- Mila Getmansky, Andrew W. Lo and Igor Makarov, An Econometric Model of Serial Correlation and Illiquidity in Hedge Fund Returns, NBER Working Paper 9571, March 2003, sections 3–5.
- U.S. Bureau of Labor Statistics, Consumer Price Index – January 2026, released Feb. 13, 2026, and the Federal Reserve Bank of St. Louis, ALFRED Help.
- MarketXLS documentation, Get historical prices and Understand splits, dividends, and adjusted prices.
- Microsoft Support, AVERAGE function, and NYSE, Holidays & Trading Hours.
Educational Use
The calculations use hypothetical prices and returns to illustrate the methods.
