Skip to main content
Track Stochastic oscillator
2 / 42
Library

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.
Entries in this reading1 entry

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.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
2 of 42 in the Stochastic oscillator track
19901-3 pp.Next on Stochastic oscillatorMonthly stochastics as a multi-year bond regime filterMonthly sampling applied the stochastic oscillator to bond-futures bars so that one-to-three-year trend phases became the relevant horizon.
All readings on this track · 42 readings
  1. 1987Stochastic fast and slow construction as a rebuildable stack
  2. 1989Building the stochastic oscillator from close location
  3. 1990Monthly stochastics as a multi-year bond regime filter
  4. 1990Walk-forward screen for yen indicator rules
  5. 1990Slow stochastic construction for index pullback entries
  6. 1991Random Walk Index construction with an adaptive lookback
  7. 1991Building a two-stage stochastic oscillator from close location
  8. 1992Constructing fast and slow stochastic oscillator lines
  9. 1992Constructing nested stochastic lookbacks
  10. 1994Construct the four-state price-volume rank before filtering it
  11. 1996Crowded stochastics, false breakouts, and hidden stops
  12. 1997Fade and follow entries from stochastic extremes
  13. 1998Oversold confirmation as a staged rule-based-entry case
  14. 1999Constructing regular and slow stochastic oscillators
  15. 2001Construct a variable-interval simple moving average from stacked extremes
  16. 2001Threshold RSI and stochastic setups with next-bar stops
  17. 2001Two tests of a rate-adjusted earnings-yield gap
  18. 2002Constructing a two-line stochastic from a range-normalized close
  19. 2002Inspect mechanical stochastic daytrade rules on one bar
  20. 2003Constructing an adaptive stochastic RSI
  21. 2003Four parameters that construct a stochastic oscillator
  22. 2004Volume breakout as signal, pullback as entry
  23. 2004A first currency-market checklist with two averages and a slow stochastic
  24. 2005Shared-scale cycle indexes with companion oscillators
  25. 2005Current-bar versus prior-bar range construction for the stochastic oscillator
  26. 2005Two-session moving-average pullback short
  27. 2006Market condition as a permission layer for moving averages and oscillators
  28. 2008Lock the stop at support before sizing a stochastic entry
  29. 2010Construct a center-line volume oscillator and read it with a stochastic oscillator
  30. 2010Sharpened RSI turns with rainbow averages and a slow stochastic
  31. 2011Build a Spearman rank oscillator from ordered closes
  32. 2012Gold as a regime-dependent hedge in the euro-area crisis
  33. 2012Pairing moving averages with variable-length stochastics
  34. 2014Two-leg stochastic stress oscillator as a rebuild drill
  35. 2014Ingress dates as price bases for relative strength, stochastics, and moving averages
  36. 2017Constructing a dual EMA stochastic from range normalization
  37. 2018Constructing a two-stage stochastic RSI for comparable price-oscillator divergences
  38. 2018Combining a weekly stochastic, a long moving average, and two-day resistance
  39. 2018Weekly and daily stochastic readings with a long moving average and support
  40. 2018A confirming workflow for rotating from discretionary to staples
  41. 2019Stochastic scan thresholds, averages, and formula syntax
  42. 2020Constructing Slow %K as a two-stage helper
All 170 readings tagged Stochastic oscillator
Also on Stochastic oscillator5 readings