2003issue C011-2
Constructing an adaptive stochastic RSI
A stochastic RSI rescales a 14-period RSI inside its own recent high-low range. When lowest-value and highest-value functions cannot accept a variable period, the adaptive form selects among lookbacks 8 through 12 with a period clamp on a volume-conditioned adjustment.
- A stochastic RSI applies a range rescale to a 14-period RSI series, mapping the current reading onto the interval between the lowest and highest RSI over a lookback.
- If lowest-value and highest-value functions cannot take a variable period, compute independent stochastic RSI branches at lookbacks 8, 9, 10, 11, and 12, then select one.
- The volume-conditioned adjustment is the rounded 60-interval volume term minus the rounded 60-interval oscillator term plus 11, then a period clamp keeps the chosen lookback between 8 and 12.
- The discrete-branch pattern can be reused for other dynamic formulas if nested conditionals are split rather than stacked too deeply.
Range rescale of RSI
A stochastic RSI is a composite oscillator that applies a stochastic high-low rescale to an RSI series rather than to raw price. The range rescale maps that series onto the interval between its lowest and highest values over a lookback.
The base construction uses a 14-period RSI as the series being rescaled. The mapped value is formed by subtracting the lowest RSI over the lookback from the current RSI and dividing by the difference between the highest and lowest RSI over that same lookback.
Fixed-period branches
When lowest-value and highest-value functions cannot accept a variable period, the adaptive form is built by computing separate fixed-period branches and selecting among them.
Stochastic RSI is recomputed independently at lookbacks 8, 9, 10, 11, and 12. The composite output is the branch whose lookback matches the limited adjustment.
Volume-conditioned adjustment
Oscillator variability enters the adjustment as the 60-interval standard deviation of stochastic RSI, divided by 0.053 and then rounded. Volume variability enters as the rounded 60-interval standard deviation of a 14-period smoothed volume series after that series is divided by 1,000,000.
The raw adjustment equals the rounded volume term minus the rounded oscillator term plus 11. A period clamp then limits the score so the chosen lookback cannot fall below 8 or rise above 12.
Splitting nested conditionals
The same discrete-branch pattern is described as reusable for other dynamic formulas if nested conditionals are split rather than stacked too deeply.
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