2020issue C116
Constructing Slow %K as a two-stage helper
Slow %K is built from a high series, a low series, a close series, and a numeric lookback length. When lookback extremes differ, a raw close-in-range reading is averaged over three bars. When they do not, the helper returns 0. A first-then-second-cross listing used this helper for momentum but omitted its body.
- The Slow %K helper is built from a high series, a low series, a close series, and a numeric lookback length.
- Lookback extremes are the highest high and lowest low over that length. When they differ, the raw stochastic is 100 times the close minus the lookback low, divided by the high-minus-low span.
- Slow %K is the 3-bar average of that raw reading. When the lookback high equals the lookback low, the helper returns 0 and does not form a raw reading.
- The helper had to be supplied separately because a published first-then-second-cross listing used it to define momentum but omitted its body.
What the helper takes in
The Slow %K helper is built from a high series, a low series, a close series, and a numeric lookback length.
The lookback extremes are the highest high and the lowest low of those series over the stated length.
The raw stochastic
When those extremes differ, the raw reading is 100 times the close minus the lookback low, divided by the high-minus-low span.
That raw stochastic is the close minus the lookback low, divided by the lookback high-minus-low span, then scaled by 100.
The three-bar Slow %K
Slow %K is then the 3-bar average of that raw reading.
The result is a range oscillator formed by averaging the raw close-in-range reading over three bars.
The zero-range guard
When the lookback high equals the lookback low, the helper returns 0 and does not form a raw reading.
The zero-range guard is that construction rule, so the span is never used as a divisor.
Why the helper was written out
The helper had to be supplied separately because a published first-then-second-cross listing used it to define momentum but omitted its body.
First-then-second-cross is a momentum-crossing procedure that uses this Slow %K reading as its oscillator input.
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