1984issue C051-3
Residual-impact construction of exponential smoothers
Simple moving averages and exponentially smoothed moving averages are identified as the two calculation methods most often found among widely used trading systems. An observation leaves a finite window on the next interval, while residual impact in an exponential smoother never fully exits. Editorial: TradersWeek teaches the construction as a two-control choice of lookback and leftover share.
- Simple moving averages and exponentially smoothed moving averages are identified as the two calculation methods most often found among widely used trading systems.
- An observation leaves an n-period simple or weighted moving average on the next interval, but the same observation never fully exits an exponentially smoothed average.
- The proposed construction selects the smoothing factor from two controls: the share of an observation's original impact to be used over a span, and the number of days in that span.
- For a length-only shortcut, 2/(n+1) is preferred to 1/n, and many residual-and-days pairs can yield the same alpha.
Two common calculation methods
Simple moving averages and exponentially smoothed moving averages are identified as the two calculation methods most often found among widely used trading systems.
A moving average is a finite-window average of ordered price, volume, or breadth observations whose contribution ends on the interval after they leave the window. Exponential smoothing is a recursive smoother that mixes the newest ordered observation with the prior output through a constant alpha so earlier observations decay geometrically and never vanish completely.
What leaves a window and what remains
An observation leaves an n-period simple or weighted moving average on the next interval, but the same observation never fully exits an exponentially smoothed average.
Two controls for the smoothing factor
The proposed construction selects the smoothing factor from two controls: the share of an observation's original impact to be used over a span, and the number of days in that span.
Residual impact is the remaining fraction of one observation after a chosen number of intervals. The leftover share after n intervals is (1-alpha) to the n.
How each update weights one observation
Each update is the newest price times alpha plus the previous smoother times one minus alpha. Unfolding that recursion shows the observation's weight on day n is alpha times (1-alpha) to the power n minus one.
The cumulative share of one price over n days is 1 minus (1-alpha) to the n, so the leftover share is (1-alpha) to the n.
A residual-and-span example
Using 95 percent of an observation in the first 10 days, a 5 percent residual, produces alpha equal to 0.25887 and matches the closed form 1 minus residual impact raised to 1 over days.
Length-only mappings
Conventional mappings treat a smoothing factor as equivalent to an n-day simple or weighted average by using either 1/n or 2/(n+1). Those shortcuts are a length-mapped alpha: a conversion of a window length n into alpha with either one over n or two over n plus one.
For a length-only shortcut, 2/(n+1) is preferred to 1/n. As the period lengthens, residuals under those two mappings approach about 36.79 percent and 13.534 percent, and many residual-and-days pairs can yield the same alpha.
All readings on this track · 41 readings
- 1984Matching average age across price filters
- 1984Residual-impact construction of exponential smoothers
- 1988Constructing simple and exponential moving averages as specified filters
- 1989Evaluating smoothed free reserves and funds-discount spreads
- 1990Integer construction of moving averages and exponential smoothing
- 1990Constructing incremental moving average filters
- 1991Constructing a double-smoothed stochastic oscillator
- 1991Constructing an exponential average from a smoothing weight
- 1991Constructing a double-smoothed momentum oscillator family
- 1991Competing certainty rules from exponential-average conditions
- 1991Hybrid construction of a mechanical timing system from smoothed signals
- 1991Constructing an exponential smoother from a moving-average length
- 1991Equivalent relative-strength-index constructions from a ratio and from smoothed momentum
- 1991Constructing the true strength index from double-smoothed momentum
- 1991True strength index from signed, double-smoothed momentum
- 1992Constructing exponential averages from simple lookbacks
- 1992Constructing exponential averages by the smoothing constant, startup length and lag
- 1992Nested range smoothing and windowed high-low damping
- 1992A weekly equity stance from the discount-bill spread
- 1993Double-smoothed stochastics momentum index construction
- 1993Constructing the true strength index with double exponential smoothing
- 1994Polarized fractal efficiency with a shared exponential smoother
- 1994Five-interval exponential smoothing of ten-interval signed path-efficiency
- 1994Hand-ranked price-volume series with stacked smoothing and stochastic
- 1995Range expansion filter on multi-horizon averages
- 1995The exponential smoothing constant from averaging lag
- 1997Construct a nested-average rainbow band and oscillator
- 1998Filter stacks that combine a moving average with exponential smoothing
- 2002Smoothed relative-strength construction from wilder-averaging and a price prefilter
- 2003Reverse-engineered RSI price targets
- 2004Piecewise trend quality from moving-average reversals
- 2004Nested smoothing recipes versus unaudited oscillator experiments
- 2008Weight construction beyond the N-day label
- 2010A consensus filter for objective RSI and smoothing construction
- 2012Sentiment-zone oscillator from signed closes
- 2012Classic RSI one-over-N smoothing versus the standard exponential average
- 2013Why exponential smoothing uses two over n plus one
- 2015Constructing ratio indicators with moving-average and exponential-smoothing weights
- 2015Slow relative-strength index from an exponentially smoothed price
- 2017Rebuilding the relative strength index as open-scale buy-sell pressure
- 2017Comparing Wilder and exponential smoothing inside a relative-strength index