Stochastic oscillator: how to use it in trading
The stochastic shows where the last candle closed within the range of the last 14 candles, on a 0 to 100 scale. Above 80 price is closing near the top of the range, below 20 near the bottom. The classic trap is reading "overbought" as "time to sell". Here is how to read the stochastic, plus a test of its signals on almost five years of BTC daily candles.
What the stochastic shows
The stochastic answers one simple question. Where did the candle close relative to the low and high of the last 14 candles? A close at the very high gives 100, at the very low 0, exactly in the middle 50.
A round-number example. Over 14 candles the coin's low was 90 USDT, the high 110 and the last close 106. From the low, price covered 16 of 20, which gives 80. If the next candle closes at 94 with the same range, the stochastic shows 20.
If RSI is the market's speedometer, the stochastic is more like a ruler. It does not measure speed, it shows where price sits inside its recent range. Where price goes next does not follow from the formula.
How to read the 20 and 80 zones
| Stochastic | What it means | What to do |
|---|---|---|
| Above 80 | Closes near the top of the range | Don't chase longs |
| 50–80 | Upper half of the range | In an uptrend, buy pullbacks |
| 20–50 | Lower half of the range | In a downtrend, short bounces |
| Below 20 | Closes near the bottom of the range | Don't chase shorts |
The extreme zones mean "don't enter late", not "expect a reversal". In a trend the stochastic can stay above 80 or below 20 for days, and every attempt to catch the turn costs a stop.
The main trap: overbought in a trend
The stochastic hits 85 and you want to short. This is the most common mistake. A reading of 85 only says that recent candles closed near the top of the range. As long as buyers hold that level, the indicator stays up there.
We checked this on BTC daily candles, details below. After 80 downturns from above 80, price was lower a week later in only 43% of cases. More often than not, a short on that signal was losing a week later.
Overbought works as a filter. It tells you not to buy at the very top of the range. A short needs a stronger reason, such as a close below the last swing low or a break of structure on the higher timeframe.
The %K and %D lines
The stochastic has two lines. %K is the calculation itself, smoothed over three candles. If the last three raw values were 50, 65 and 80, %K shows 65. %D is the average of the last three %K values, so it moves slower.
When %K crosses above %D, the current value has risen above its recent average. Only count the cross on a closed candle. Until the candle closes, the cross can disappear.
Traders usually look for crosses in the extreme zones, up below 20 and down above 80. Even that is not an entry on its own, as the test below shows.
Settings and timeframe
- 14, 3, 3 suits almost everyone. That is 14 candles for the range, 3 to smooth %K and 3 for %D. Shorter settings (5, 3, 3) give many false signals, longer ones lag.
- Timeframe. The daily shows the big picture, 4H works for entries. On one-minute charts the stochastic jumps between 0 and 100 and is nearly useless.
- Stochastic RSI is a different indicator. It applies the same formula to RSI values rather than price, so it is even jumpier. In TradingView pick plain Stochastic (TradingView description).
- Read it with the trend. A stochastic of 20 in an uptrend is a pullback to buy. The same 20 in a downtrend means nothing.
Tested on BTC, 2022–2026
We took daily candles of the BTCUSDT perpetual on Bybit from January 1, 2022 to November 17, 2026 and checked where price was 7 days after each signal.
| Signal | Count | 7 days later |
|---|---|---|
| Upturn below 20 | 46 | price higher in 50% of cases |
| Downturn above 80 | 80 | price lower in 43% of cases |
| Any day, no signal | 1,775 | price higher in 50.8% of cases |
Neither signal beat a random day. Buying the upturn from below 20 was a coin flip, and selling the downturn from above 80 was worse. That does not make the stochastic useless. It means the stochastic alone does not tell you where price goes.
The test has limits. We only compared the close a week later. Whether a stop would have been hit during the week, or how much fees would cost, this test does not show. How to tell an honest backtest from curve fitting is covered in how to read a backtest.
That is why the bot's coin breakdown has no separate stochastic signal. The bot looks at the trend on 1D, 4H and 1H, levels, open interest and volume, and sets the stop by the coin's volatility.
FAQ
What does the stochastic oscillator show?
Where the last candle closed within the range of the last 14 candles, on a 0 to 100 scale. Above 80 closes are near the top of the range, below 20 near the bottom.
Should I sell when the stochastic is above 80?
No, that alone is not a sell signal. In an uptrend the stochastic can stay above 80 for a long time. On BTC daily candles in 2022–2026, after a downturn from above 80 price was lower a week later in only 43% of cases.
What are the best stochastic settings?
The standard 14, 3, 3 on the daily and 4H charts. Short settings give many false signals, long ones lag. Read the stochastic together with the trend.
How is the stochastic different from RSI?
RSI compares the strength of up and down moves over 14 candles, while the stochastic shows where price closed within the range. The stochastic is faster and reaches extreme zones more often, so it gives more false signals.
What are the %K and %D lines?
%K is the main calculation smoothed over three candles, %D is its three-candle average. A %K and %D cross is treated as a signal, but only on a closed candle and together with the trend.
Trend, levels and a trade plan in a minute
Send the bot a ticker: it checks the trend on 1D, 4H and 1H, levels and volume, warns you when the market is overheated and sends entry, stop, two take-profits and a position size for your deposit. 7 days free.