What is Stochastic Oscillator?
Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy
The stochastic is built on a simple idea: in an uptrend, closes tend to sit near the top of the recent range, and in a downtrend near the bottom. A reading of 100 means the close is at the highest price of the lookback; 0 means it is at the lowest. The usual setting is 14, 3, 3 for the slow stochastic, though some platforms default to other values.
How the stochastic is calculated
- Find the highest high and lowest low of the last 14 bars.
- Fast %K = (Close − Lowest low) ÷ (Highest high − Lowest low) × 100.
- Slow %K = the 3-bar simple average of fast %K. This is the main line on most charts.
- %D = the 3-bar simple average of slow %K: the signal line.
- Read 80 and above as overbought, 20 and below as oversold, and crosses of %K and %D as momentum shifts.
Worked example: Nifty daily, slow 14, 3, 3 (illustrative)
| Day | Fast %K | Slow %K (3-bar avg) | %D (3-bar avg of slow %K) |
|---|---|---|---|
| 1 | 60 | ||
| 2 | 72 | ||
| 3 | 78 | (60 + 72 + 78) ÷ 3 = 70.00 | |
| 4 | 75 | (72 + 78 + 75) ÷ 3 = 75.00 | |
| 5 | 82 | (78 + 75 + 82) ÷ 3 = 78.33 | (70 + 75 + 78.33) ÷ 3 = 74.44 |
| 6 | 68 | (75 + 82 + 68) ÷ 3 = 75.00 | (75 + 78.33 + 75) ÷ 3 = 76.11 |
| 7 | 50 | (82 + 68 + 50) ÷ 3 = 66.67 | (78.33 + 75 + 66.67) ÷ 3 = 73.33 |
Day 4’s fast %K of 75 is the reading from the definition: close 25,250 in a 24,800 to 25,400 range. On day 6, slow %K (75.00) slips below %D (76.11): a bearish cross. Slow %K peaked at 78.33, so a rule that only counts crosses from above 80 would not fire here. That difference is exactly why the rule needs to be written down before trading it.
How traders use it and log it
- Range trading: buy when %K crosses up through %D below 20 near support; sell when it crosses down above 80 near resistance.
- Trend pullbacks: in an uptrend on the daily chart, use a dip of the intraday stochastic below 20 to time long entries.
- Divergence: price makes a lower low while %K makes a higher low, a sign selling pressure is easing.
- Journal: log the settings (14, 3, 3 or other), the timeframe, the %K and %D values at entry and whether the trade was with or against the higher-timeframe trend. Review the two groups separately after 30 or more trades.
Stochastic vs RSI
Stochastic
RSI
Reference guide
| Context | Value | Reading |
|---|---|---|
| %K crossing down from above 80 at resistance in a range | Context fits | Still define the stop above the range high before entry |
| Selling every reading above 80 in a strong uptrend | Fading the trend | In uptrends the stochastic can stay overbought for long stretches |
| Fast stochastic on a 1-minute chart | Noise | Crosses fire constantly; each one costs charges and slippage |
Questions
What are the best stochastic settings?
The standard slow stochastic is 14, 3, 3. Shorter settings such as 5, 3, 3 react faster and give more signals, many of them false. Keep one setting per setup and log it.
How is the stochastic oscillator calculated?
Fast %K = (close − 14-period low) ÷ (14-period high − 14-period low) × 100. Slow %K is a 3-period average of that, and %D is a 3-period average of slow %K.
What do 80 and 20 mean on the stochastic?
Above 80 the close is near the top of its recent range (overbought); below 20 it is near the bottom (oversold). Neither is a signal on its own in a trending market.
What is the difference between fast and slow stochastic?
Fast stochastic plots raw %K with a 3-period %D. Slow stochastic smooths %K once more over 3 periods, which removes some noise and is the version most platforms show by default.
Is stochastic better than RSI?
Neither is better in general. The stochastic reacts faster and suits range timing; RSI is smoother. Compare them on your own tagged trades.