2003issue C111
Four parameters that construct a stochastic oscillator
A stochastic oscillator is built from four inputs. Lookback, internal smoothing, signal-average length, and average type each change what the two output lines can say about where a close sits inside a sampled range.
- The oscillator reports rangeRelativeClose: it locates the latest close inside the high-low range of a chosen lookback instead of treating price as an absolute level.
- Construction specifies four inputs: the percentK lookback, kSlowing, the percentD averaging length, and the averaging method used to form percentD.
- A kSlowing length of 1 is the fast construction and a length of 3 is the slow construction, because the latter adds internal smoothing to percentK.
- The usual display overlays percentK with percentD, then applies thresholdRecross, lineCross, and divergenceScan reading conventions.
A range-relative close
A stochastic oscillator locates a close inside the high-low range observed over a chosen lookback rather than treating price as an absolute level. That rangeRelativeClose reading is what the rest of the construction is built to report.
percentK is the primary oscillator series that places the latest close inside the high-low range of a chosen lookback. A percentK reading of 50 means the close sits at the midpoint of the lookback range. A reading of 0 means the close is at the range low.
Four construction inputs
Construction specifies four inputs: the percentK lookback, the percentK slowing length, the percentD averaging length, and the averaging method used to form percentD.
Fast and slow percentK
kSlowing is an internal smoother applied to percentK. A slowing length of 1 is the fast construction. A slowing length of 3 is the slow construction because the latter adds internal smoothing to percentK.
PercentD as a derived smoother
percentD is a moving average of percentK, so the secondary line is a derived smoother of the primary range-relative series. percentD serves as the secondary, slower companion line.
The percentD averaging method may be chosen from several moving-average families, including simple, exponential, weighted, triangular, variable, and time-series forms.
Two lines and three reading conventions
The usual display uses two lines, with percentK as the primary series and percentD as the secondary overlay.
Common reading conventions include thresholdRecross, which watches either line leave and then re-enter a chosen high or low band; lineCross, which watches percentK move above or below percentD; and divergenceScan, which compares oscillator direction with price direction before treating a signal as complete.
All readings on this track · 42 readings
- 1987Stochastic fast and slow construction as a rebuildable stack
- 1989Building the stochastic oscillator from close location
- 1990Monthly stochastics as a multi-year bond regime filter
- 1990Walk-forward screen for yen indicator rules
- 1990Slow stochastic construction for index pullback entries
- 1991Random Walk Index construction with an adaptive lookback
- 1991Building a two-stage stochastic oscillator from close location
- 1992Constructing fast and slow stochastic oscillator lines
- 1992Constructing nested stochastic lookbacks
- 1994Construct the four-state price-volume rank before filtering it
- 1996Crowded stochastics, false breakouts, and hidden stops
- 1997Fade and follow entries from stochastic extremes
- 1998Oversold confirmation as a staged rule-based-entry case
- 1999Constructing regular and slow stochastic oscillators
- 2001Construct a variable-interval simple moving average from stacked extremes
- 2001Threshold RSI and stochastic setups with next-bar stops
- 2001Two tests of a rate-adjusted earnings-yield gap
- 2002Constructing a two-line stochastic from a range-normalized close
- 2002Inspect mechanical stochastic daytrade rules on one bar
- 2003Constructing an adaptive stochastic RSI
- 2003Four parameters that construct a stochastic oscillator
- 2004Volume breakout as signal, pullback as entry
- 2004A first currency-market checklist with two averages and a slow stochastic
- 2005Shared-scale cycle indexes with companion oscillators
- 2005Current-bar versus prior-bar range construction for the stochastic oscillator
- 2005Two-session moving-average pullback short
- 2006Market condition as a permission layer for moving averages and oscillators
- 2008Lock the stop at support before sizing a stochastic entry
- 2010Construct a center-line volume oscillator and read it with a stochastic oscillator
- 2010Sharpened RSI turns with rainbow averages and a slow stochastic
- 2011Build a Spearman rank oscillator from ordered closes
- 2012Gold as a regime-dependent hedge in the euro-area crisis
- 2012Pairing moving averages with variable-length stochastics
- 2014Two-leg stochastic stress oscillator as a rebuild drill
- 2014Ingress dates as price bases for relative strength, stochastics, and moving averages
- 2017Constructing a dual EMA stochastic from range normalization
- 2018Constructing a two-stage stochastic RSI for comparable price-oscillator divergences
- 2018Combining a weekly stochastic, a long moving average, and two-day resistance
- 2018Weekly and daily stochastic readings with a long moving average and support
- 2018A confirming workflow for rotating from discretionary to staples
- 2019Stochastic scan thresholds, averages, and formula syntax
- 2020Constructing Slow %K as a two-stage helper