Momentum

Stochastic Oscillator — Momentum and Overbought/Oversold Levels

How the stochastic oscillator works, %K and %D explained, recommended settings, and how to trade stochastic crossovers in the direction of the trend.

Stochastic(14, 3): %K and %D with 80/20 levels8020%K %D
Take %K/%D crosses in the trend's direction — buy oversold dips in uptrends, sell overbought rallies in downtrends.

The stochastic oscillator, popularized by George Lane, compares the latest close with the high–low range over a lookback period. The idea: in an uptrend, closes tend to sit near the top of the range; in a downtrend, near the bottom.

Calculation

%K = (Close − Lowest low) ÷ (Highest high − Lowest low) × 100, typically over 14 periods. %D is a 3-period moving average of %K. Common settings are 14, 3, 3.

Readings above 80 are considered overbought; below 20, oversold.

How to trade it

Trade crossovers with the trend. In an uptrend, wait for the stochastic to dip below 20, then buy when %K crosses back above %D. In a downtrend, sell when it rises above 80 and %K crosses below %D.

Use divergence at key levels. As with the RSI, a higher low on the stochastic while price makes a lower low suggests weakening selling pressure.

A worked calculation

Suppose over the last 14 one-hour candles EUR/USD’s highest high is 1.0950 and its lowest low is 1.0850, and the latest close is 1.0870.

%K = (1.0870 − 1.0850) ÷ (1.0950 − 1.0850) × 100 = 20 ÷ 100 × 100 = 20

The close sits in the bottom fifth of the recent range — right on the oversold line.

Choosing settings

Setting Behavior Typical use
5, 3, 3 Fast, many signals Scalping on 1- to 5-minute charts
14, 3, 3 Standard balance Day and swing trading
21, 5, 5 Slow, fewer signals Swing trading on daily charts

Pick one setting and test it. Changing settings after a few losing trades only fits the indicator to the past.

A trend-pullback stochastic strategy

  1. Trend filter: on the 1-hour chart, price is above a rising 50 EMA — longs only.
  2. Setup: the stochastic drops below 20 during a pullback.
  3. Trigger: %K crosses back above %D. Enter on the close of that candle.
  4. Stop: below the pullback’s swing low.
  5. Target: the prior swing high, or 2R.

Example. EUR/USD is above its rising 50 EMA. A pullback pushes the stochastic to 15; the next candle’s %K crosses above %D and closes at 1.0868. The pullback low is 1.0852, so the stop sits there — 16 pips of risk. The prior high at 1.0900 is 32 pips away, exactly 2R. On a $10,000 account risking 1% ($100), the size is $100 ÷ (16 × $10) ≈ 0.62 lots. Check it with the position size calculator.

Stochastic vs RSI

Stochastic RSI
Measures Close relative to the recent high–low range Size of up moves vs down moves
Speed Faster, more signals Smoother
Common levels 80 / 20 70 / 30
Best for Timing pullback entries Divergence and trend strength

Common mistakes

  • Selling every overbought reading in an uptrend. Strong trends keep the stochastic above 80 for long periods.
  • Trading every crossover. In a range, %K and %D cross constantly; only crossovers from the extreme zones in the trend’s direction matter.
  • Ignoring the timeframe. A 5-minute oversold reading means little against a falling daily trend.

Limitations

The stochastic is very sensitive and can remain overbought throughout a strong rally. Always define the trend first — with moving averages or market structure — and use the oscillator only to time entries in that direction.

Frequently asked questions

What is the difference between fast and slow stochastic?

The slow stochastic smooths the fast %K line with a 3-period average, producing fewer and more reliable signals. Most charting platforms default to the slow version.

What are the best stochastic settings for scalping?

Many scalpers use a faster 5, 3, 3 setting on 1- to 5-minute charts. It reacts quickly but produces more false signals, so it should only be traded in the direction of a higher-timeframe trend.

Is the stochastic better than the RSI?

Neither is better. The stochastic is faster and more sensitive, so it suits timing pullback entries; the RSI is smoother and is more often used for divergence and trend-strength readings.

Can you trade the stochastic on its own?

It is not recommended. On its own the stochastic gives many overbought and oversold signals against strong trends. Use it to time entries in a direction set by trend or structure.

TF

TradingFormula Editorial Team

Editorial Team

The TradingFormula editorial team writes and fact-checks every guide on the site. Each article is reviewed against primary sources — exchange contract specifications, regulator registers and the firms' own published terms — before publication.

Risk warning: Trading forex, futures, CFDs, stocks and other leveraged products involves a high risk of loss and is not suitable for every investor. Past performance is not indicative of future results. Nothing on this site is investment advice.