The stochastic oscillator is a momentum indicator that shows where the latest close sits compared with the recent high-low range, on a scale from 0 to 100. It is popular because it is easy to read, and easy to misuse. Many beginners sell when it says "overbought" and buy when it says "oversold", then wonder why they lose in strong trends. This guide explains how it works and how to use it with more care.
How the stochastic oscillator works
In an uptrend, price tends to close near the highs of the recent range, and in a downtrend, near the lows. The stochastic turns this into a number. A reading of 90 means the close is near the top of the recent range, and 10 means it is near the bottom.
The indicator has two lines: %K, the fast line, and %D, a moving average of %K that works as the slow, signal line. The most common setting is 14 periods for the range, with smoothing, but platforms offer others.

Overbought and oversold: what the zones really mean
Readings above 80 are called overbought, and readings below 20 are called oversold. This language is misleading. It does not mean price must fall from overbought or rise from oversold.
In a strong trend, the stochastic can stay above 80 for a long time, because the closes stay near the highs. It simply says price is near the top or bottom of its recent range. The RSI has the same warning, as covered in the RSI indicator explained.
Stochastic crossover and divergence signals
- Zones. Above 80 and below 20 mark the extremes of the range.
- Crossovers. %K crossing above %D suggests momentum is turning up, and crossing below suggests it is turning down. In ranges, these crosses are frequent and often false.
- Divergence. If price makes a new high but the stochastic does not, momentum may be fading. It can be early, and it can fail.

The stochastic works best in a range, where price moves between support and resistance. In a trend it needs to be used differently, as explained below.
How to use the stochastic oscillator better
- Find the trend first. See how to identify a trend. In an uptrend, use oversold readings and bullish crosses as chances to buy pullbacks, and ignore the overbought sells. In a downtrend, do the opposite.
- Use a level. A stochastic signal at support or resistance is stronger than one in empty space. See support and resistance.
- Add a candle signal. For example, a bullish candle after an oversold reading. See pin bar strategy and confluence trading.
- Place the stop on the chart, not on the indicator. The indicator does not know where your idea is wrong. See stop loss and take profit.
- Size the position by the stop. See how to calculate position size.

Illustrative example: buying an oversold dip in an uptrend
This is an illustrative example, not a real trade. EUR/USD is in an uptrend on H1. Price pulls back to a support level near 1.0840, and the stochastic falls below 20. Then %K crosses above %D, and a bullish candle closes at 1.0850.
That gives three reasons in one place: the trend, the level and the oscillator. The trader buys at 1.0850, places the stop below the support at 1.0820 (30 pips), and targets the previous high at 1.0910 (60 pips), a 1 to 2 ratio.
With a $10,000 account risking 1% ($100), the position size is $100 / (30 pips x $10 per pip per lot) = about 0.33 lot. A win pays about $200, and a loss costs about $100.
If the stochastic had fallen below 20 in a downtrend with no level nearby, you would ignore it.
Which stochastic settings should you use?
The common default is 14 periods for the range, with smoothing of 3 on %K and 3 on %D, though platforms label these differently. A shorter period reacts faster and produces more signals and more noise. A longer period is smoother and slower.
Pick one setting, test it on several pairs and timeframes, and keep it. Changing the numbers until the past looks perfect is a way to fool yourself. See how to backtest.
Fast, slow and full stochastic
You may see three versions. The fast stochastic uses raw %K, and it is jumpy. The slow stochastic smooths %K first, so it is steadier. The full version lets you set all the smoothing values yourself.
Most platforms show the slow version by default. For a beginner, the version matters less than using it consistently and with trend and level context.
Common mistakes
- Selling every reading above 80 and buying every reading below 20. Strong trends stay in the zones. Trade only in the direction of the trend, or at a clear level.
- Trading every crossover. Crosses are noisy without a trend or a level. Wait for context and a candle signal.
- Changing the settings until the past looks perfect. This is overfitting. Choose one setting, test it, and keep it.
- Using the indicator without a stop. The indicator cannot tell you when you are wrong. Put the stop at a chart level and size by it.
Frequently asked questions
What does the stochastic oscillator show?
It shows where the latest close is compared with the recent high-low range, on a scale from 0 to 100. It measures momentum, not value.
What do %K and %D mean?
%K is the fast line, and %D is a moving average of %K that works as the slow, signal line. Crosses between them are the common signal.
Does overbought mean sell?
No. In a strong uptrend, the stochastic can stay overbought for a long time. It says price is near the top of its range, not that it must fall.
Which settings should I use?
14 periods is a common default. Choose one setting, test it, and avoid changing it to fit the past.
Your next step
Open a chart of a pair you know, add the stochastic with the default setting, and mark five times it went above 80 or below 20. Note whether the market was trending or ranging each time. You will quickly see where the indicator helps and where it misleads. For sizing, use the position size calculator.
This is education, not financial advice. Trading carries risk, and no indicator predicts price. The charts are illustrative and not real market data.



