Skip to main content
Track Exponential smoothing
7 / 41
Library

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.
Entries in this reading3 entries

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.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
7 of 41 in the Exponential smoothing track
19911-1 pp.Next on Exponential smoothingConstructing an exponential average from a smoothing weightExponential smoothing of an ordered closing-price series is constructed as another form of moving average.
All readings on this track · 41 readings
  1. 1984Matching average age across price filters
  2. 1984Residual-impact construction of exponential smoothers
  3. 1988Constructing simple and exponential moving averages as specified filters
  4. 1989Evaluating smoothed free reserves and funds-discount spreads
  5. 1990Integer construction of moving averages and exponential smoothing
  6. 1990Constructing incremental moving average filters
  7. 1991Constructing a double-smoothed stochastic oscillator
  8. 1991Constructing an exponential average from a smoothing weight
  9. 1991Constructing a double-smoothed momentum oscillator family
  10. 1991Competing certainty rules from exponential-average conditions
  11. 1991Hybrid construction of a mechanical timing system from smoothed signals
  12. 1991Constructing an exponential smoother from a moving-average length
  13. 1991Equivalent relative-strength-index constructions from a ratio and from smoothed momentum
  14. 1991Constructing the true strength index from double-smoothed momentum
  15. 1991True strength index from signed, double-smoothed momentum
  16. 1992Constructing exponential averages from simple lookbacks
  17. 1992Constructing exponential averages by the smoothing constant, startup length and lag
  18. 1992Nested range smoothing and windowed high-low damping
  19. 1992A weekly equity stance from the discount-bill spread
  20. 1993Double-smoothed stochastics momentum index construction
  21. 1993Constructing the true strength index with double exponential smoothing
  22. 1994Polarized fractal efficiency with a shared exponential smoother
  23. 1994Five-interval exponential smoothing of ten-interval signed path-efficiency
  24. 1994Hand-ranked price-volume series with stacked smoothing and stochastic
  25. 1995Range expansion filter on multi-horizon averages
  26. 1995The exponential smoothing constant from averaging lag
  27. 1997Construct a nested-average rainbow band and oscillator
  28. 1998Filter stacks that combine a moving average with exponential smoothing
  29. 2002Smoothed relative-strength construction from wilder-averaging and a price prefilter
  30. 2003Reverse-engineered RSI price targets
  31. 2004Piecewise trend quality from moving-average reversals
  32. 2004Nested smoothing recipes versus unaudited oscillator experiments
  33. 2008Weight construction beyond the N-day label
  34. 2010A consensus filter for objective RSI and smoothing construction
  35. 2012Sentiment-zone oscillator from signed closes
  36. 2012Classic RSI one-over-N smoothing versus the standard exponential average
  37. 2013Why exponential smoothing uses two over n plus one
  38. 2015Constructing ratio indicators with moving-average and exponential-smoothing weights
  39. 2015Slow relative-strength index from an exponentially smoothed price
  40. 2017Rebuilding the relative strength index as open-scale buy-sell pressure
  41. 2017Comparing Wilder and exponential smoothing inside a relative-strength index
All 183 readings tagged Exponential smoothing
Also on Exponential smoothing5 readings