2002issue C101-11
Smoothed relative-strength construction from wilder-averaging and a price prefilter
A relative-strength-index is assembled from averaged up-moves and down-moves over a stated lookback. This note locks wilder-averaging first, then shows when a short triangular-prefilter sits on price before the oscillator is computed.
- The original relative-strength construction seeds the first window with a simple average and then updates with a 1/n wilder-averaging blend, not a 2/(n+1) exponential-smoothing factor.
- A ratio-form that recursively averages net change and total absolute change is algebraically equivalent to the original relative-strength-index when the same averaging convention is used.
- Without that simple-average initialization, agreement with the original construction appears only after a settling span of about two or three times the lookback.
- A six-bar triangular-prefilter of the close can feed the oscillator; other pairings use a four-weight close smoother with either a 10-bar summation-form or the original recursive averaging.
How the oscillator is assembled
The relative-strength-index is a bounded oscillator assembled from averaged up-moves versus averaged down-moves over a stated lookback. Exponential-smoothing is a recursive average that replaces a fraction of the prior average with a fraction of the newest observation.
The original relative-strength construction uses a simple average only to seed the first window, then updates with a 1/n recursive blend rather than a 2/(n+1) exponential factor. That wilder-averaging convention keeps a 1/n blending factor and a simple-average start, and it is distinct from the 2/(n+1) exponential convention.
An equivalent ratio-form
A ratio of net change to total absolute change, each recursively averaged, is an algebraically equivalent rewrite of the original relative-strength formula once the same averaging convention is used. That ratio-form is a scaled net-change average divided by a total-change average.
Initialization and the settling span
Initialization is the first-window calculation that seeds a recursive average, often a simple mean of the opening observations. If the recursive average is started without the simple-average seed, agreement with the original construction appears only after a settling span of about two or three times the lookback.
The lookback is the sample length that sets both the average span and the time needed for a recursive average to settle.
A triangular-prefilter on the close
A six-bar triangular smoother of the close can be formed as a double simple average and supplied as the price input to a subsequent relative-strength calculation. That triangular-prefilter is a short finite-impulse-response smoother applied to price before oscillator inputs are formed.
One platform pairing applies that six-bar triangular-prefilter to the close and then computes relative strength on a 10-bar length.
Competing prefilter and change pairings
A competing construction first applies a four-weight close smoother, then totals signed changes over a 10-bar window instead of recursively averaging those changes. That summation-form totals raw up and down changes over the lookback rather than recursively averaging them.
The same four-weight prefilter can be paired with the original recursive averaging of up and down changes and then mapped through the classic 100 minus 100 over one-plus-ratio transform.
Spreadsheet accumulation
A spreadsheet implementation of the prefiltered oscillator accumulates up and down increments of the smoothed close over the chosen length and returns their share of the combined total when that total is nonzero.
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