1991issue C011-8
Constructing a double-smoothed stochastic oscillator
The raw stochastic places the close on a zero-to-one-hundred scale between a lookback high and a lookback low. Extra smoothness is applied later, as two exponential passes on the numerator and the denominator, so the high-low window stays a separate construction choice.
- The raw stochastic is one hundred times the close minus the lookback low, divided by the lookback high minus the lookback low, and is scaled onto a zero-to-one-hundred range.
- The double-smoothed form applies a y-length exponential average and then a z-length exponential average to both sides of that ratio before multiplying by one hundred.
- Exponential length maps to a smoothing constant of two divided by length plus one, and a length of one omits that averaging pass.
- A one-bar high-low window locates the close inside that bar's range before the two exponential passes, forming a faster close-in-range variant.
A bounded close-in-range reading
The stochastic oscillator is a bounded 0-100 reading of where the close sits between a lookback high and a lookback low. The raw stochastic is one hundred times the close minus the lookback low, divided by the lookback high minus the lookback low, and is scaled onto a zero-to-one-hundred range.
A popular companion line sums the same numerator and denominator over three intervals after a five-interval high-low window, rather than only averaging the already-normalized raw value.
Why extra smoothing is added later
Extra smoothing is motivated by the unsmoothed oscillator revealing many minor swings when only selected peaks and troughs are wanted.
Editorial: that motive is a reason to keep smoothness as later construction choices. It is not a reason to replace the high-low window with one longer preset length.
Two exponential passes on each side of the ratio
The double-smoothed stochastic is the same range-normalized ratio after two successive exponential averages are applied separately to the numerator and the denominator.
The double-smoothed form applies a y-length exponential average and then a z-length exponential average to both the close-minus-lookback-low series and the lookback-high-minus-lookback-low series before multiplying the ratio by one hundred.
Editorial: rebuild the oscillator in that order. Choose the high-low window first, then the first exponential pass, then the second exponential pass, so smoothness can be added without collapsing those choices into a single preset length.
From length to smoothing constant
Exponential smoothing is a recursive average that blends the latest observation with the prior average using a constant estimated as two divided by length plus one.
The exponential length y maps to a smoothing constant of two divided by y plus one. A length of two equals a constant of two-thirds, and a length of one omits that averaging pass.
An exponential average is updated as the prior average plus the smoothing constant times the gap between the new observation and that prior average, equivalently alpha times the new observation plus one minus alpha times the prior average.
Companion averages
A moving average is an arithmetic average of recent values, used both inside the classic companion line and as a slower overlay on the finished double-smoothed oscillator.
A slower companion is formed by taking a three-day arithmetic moving average of the finished double-smoothed oscillator.
The one-bar HLC index
Setting the high-low window to one bar locates the close inside that bar's range and then applies the two exponential passes, producing a faster-responding close-in-range variant.
That one-bar lookback case is the HLC index: it locates the close inside that bar's high-low range before the two exponential passes.
Documented parameter triples
Documented parameter triples include a two-bar window with three-then-fifteen-day exponential passes, a one-bar window with five-then-fifteen-day exponential passes, and a five-bar window with seven-then-three-day exponential passes.
Editorial: the triples show different pairings of the high-low window with the two exponential lengths. They are construction examples, not a ranking.
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