Research method
Stochastic oscillator: how it is built and used
The stochastic oscillator places the latest close inside the high-low range of a recent window and scales that position from 0 to 100. 193 readings in the TradersWeek archive use it, most often beside RSI or a moving average that decides direction while the stochastic decides timing.
- Output
- Research filter
- Input
- High, low and close of one instrument
- Horizon
- Set by the lookback; 14 bars by default in the terminal
- Best use
- Timing entries in the direction a trend tool has already chosen
- %K = 100 × (close − lowest low) / (highest high − lowest low) over the lookback; %D is a short average of %K.
- Fast and slow stochastics are the same formula with one extra smoothing step; "slow %K" is the fast %D under a new name.
- A stochastic near 100 says the close sits at the top of its recent range, which is normal in a strong uptrend, not a reversal call.
- In the archive it appears beside RSI (50 readings) and moving averages (42) more often than on its own.
- On the TradersWeek chart the default is the fast form, 14 / 1 / 3; set %K Smooth to 3 for the slow form.
How the method is built, and where it has been read
Depends on
Often reviewed together
Williams %R5 readings
Often reviewed together
Average Directional Index7 readings
Often reviewed together
Bollinger Bands8 readings
Often reviewed together
Stop-loss order9 readings
Often reviewed together
Exponential smoothing10 readings
Often reviewed together
Rule-based entry12 readings
Often reviewed together
MACD12 readings
Often reviewed together
Candlestick patterns13 readings
Read in the archive24 of 193 readings
How the stochastic oscillator is calculated
Pick a lookback window. On every bar find the highest high and the lowest low inside it, then measure where the close sits between them: %K = 100 × (close − lowest low) / (highest high − lowest low). A close at the top of the range reads 100, at the bottom 0. The idea was popularized by George Lane: in a rising market closes tend to cluster near the top of the recent range, in a falling one near the bottom.
%D is a short moving average of %K, usually 3 bars, and serves as the signal line. That pair is the fast stochastic. The slow stochastic adds one more step: the fast %D becomes the new %K, and a second 3-bar average of it becomes the new %D. Slow lines turn later and cross less often.
Why "Stochastic 14, 3" can mean two different lines
Because slow %K is fast %D renamed, a label without the smoothing setting is ambiguous: one platform shows the fast pair by default, another the slow one. There are smaller differences too. Some definitions build %D as a ratio of summed numerators to summed denominators rather than an average of finished %K values, and some exclude the current bar from the high-low window. Each choice moves the reading, so check all of them before you copy a level or a cross from a book or another chart.
Parameter set
The choices that change the reading
- lookback
- %K lookback
Bars in the high-low window.
Default: 14A short window pins the line to the extremes and flips it on small moves. - kSmooth
- %K smoothing
Extra average applied to raw %K; 1 means none (fast), 3 gives the slow form.
Default: 1 (fast)Levels and crosses measured on one form do not carry over to the other. - dPeriod
- %D period
Length of the signal-line average of %K.
Default: 3A longer %D makes every cross arrive later. - bands
- Bands
Levels treated as extreme.
Default: 80 / 20In a trend the line can stay beyond them for many bars.
What 193 readings in the archive do with the stochastic
The stochastic oscillator appears in 193 readings of the TradersWeek research archive: 12 from the 1980s, 57 from the 1990s, 64 from the 2000s, 52 from the 2010s and 8 from the 2020s. In 42 of them it is the main subject; elsewhere it is one input among several.
Its most frequent companions are RSI (50 readings), moving averages (42), divergence (29), MACD (16) and explicit rule-based entries (16). The common arrangement gives direction to the trend tool and timing to the stochastic.
The readings where the stochastic is the subject return to four themes:
- Rebuilding the construction. Many readings rebuild fast and slow lines step by step: raw %K, the ratio-of-sums %D, the relabeling that produces slow %K, and whether the current bar belongs in the window. The point is that each published setting names one specific stack of choices.
- Several clocks at once. The same formula is run on nested lookbacks, for example a 70-day line (14 weeks of five sessions) beside a 14-day one, or on monthly bars as a regime filter. A shorter-window cross counts only when the longer line already agrees.
- Full rule packages, not bare crosses. A fade waits for an extreme to turn; a follow treats a stretch beyond the band that lasts, commonly five consecutive sessions, as a trend. Both arm on a next-bar break and carry a stop at a recent extreme or support, which also sets position size.
- Stochastic of something else. The range-normalization step is applied to other series: RSI (the stochastic RSI), exponential averages, a spread between two markets, a valuation gap. The question becomes where a value sits inside its own recent range.
Where it fits in a workflow
Use the stochastic after the direction is settled. In an uptrend, a dip of the slow line toward the lower band followed by a %K cross back above %D is a candidate entry worth checking against support; a reading near the top tells you little on its own. Fix the lookback, both smoothing lengths, the bands and the confirmation rule before you test anything, and keep them fixed while you test.
On the TradersWeek chart
The terminal's Stochastic indicator has three settings: %K Period 14, %K Smooth 1 and %D Period 3, with %D a simple average of %K and reference lines at 20 and 80. With %K Smooth at 1 it draws the fast form; set it to 3 for the slow one. When the window's high equals its low the bar gets no value instead of a made-up 50. The separate KDJ indicator is a different variant: 9 / 3 / 3, recursive smoothing seeded at 50, and a third line J = 3K − 2D, so its readings do not match the Stochastic.
