1989issue C031-3
Building the stochastic oscillator from close location
The stochastic oscillator begins by locating the current close inside a chosen high-low lookback and scaling that reading to a 0-to-100 line. Companion smoothing, zone boundaries, and crossing rules are specified only after that raw location exists.
- The stochastic oscillator is a 0-to-100 scale meant to mark overbought and oversold conditions from where the close sits inside a lookback range.
- Percent K locates the current close between the highest high and lowest low of a lookback commonly set to 5, then scales that ratio by 100.
- Percent D is a three-period summed companion built from the same close-versus-range quantities used for percent K.
- A crossing of percent K through percent D is specified as a trend-change cue only after both lines have already entered the overbought zone or the oversold zone.
Locating the close inside the lookback
The construction premise is that closes cluster toward range lows while price is falling and toward range highs while price is rising. The same premise can be applied on monthly, weekly, or intraday bars.
The raw line percent K locates the current close between the highest high and lowest low of a lookback n that is commonly set to 5, then scales that ratio by 100. Percent K is that raw location reading, scaled to percent, of the current close between the lookback high and the lookback low.
Adding the companion line and the zones
The companion line percent D is a three-period summed form of the same close-versus-range numerator and denominator used for percent K. The oscillator is constructed as a 0-to-100 scale intended to mark overbought and oversold conditions.
When the two lines are plotted, the vertical axis is the oscillator percentage and the horizontal axis is time. Conventional zone boundaries sit at 80 and above for the overbought zone and at 20 and below for the oversold zone.
Crossing, divergence, and the slow form
A crossing of percent K through percent D is specified as a trend-change cue only when both lines have already entered the overbought zone or the oversold zone. That condition is the crossover rule.
A second specified cue is percent D divergence, which compares the price path with the path of percent D. It is presented as a possible reversal warning that can appear before the same turn is obvious on the price path.
A slow stochastic relabels percent D as slow percent K and defines slow percent D as a three-period moving average of that renamed line. Editorial note: the slow variant does not replace the original close-location step. It reuses the already summed companion as the new raw line and then averages that line.
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