Reading Charts. Lesson 9 of 12 · 13 min read

Stochastics

Learn how the stochastic oscillator compares each close with its recent range, and why oversold and overbought readings are watch zones, not trade signals. The original illustrations show the crossovers, confirmation levels and divergence patterns.

Written by the StockEducation Editorial Team · Reviewed by Associate Professor Charles Lo, CPA, PhD · Updated · How we check lessons

Quick answer

What is the stochastic oscillator?

The stochastic oscillator shows where a stock closed within its recent high to low range, on a scale of 0 to 100. Readings below 20 are called oversold and readings above 80 overbought. Many traders read a %K cross above %D near 20 as bullish and a cross below %D near 80 as bearish, but each needs confirmation from price, trend, support or resistance.

Key takeaways

  1. Stochastics measures where the close sits inside its recent high to low range, from 0 to 100.
  2. Below 20 is oversold and above 80 is overbought; both are watch zones, not automatic trades.
  3. A %K cross above %D near 20 is often read as bullish, a cross below %D near 80 as bearish, and a cross of 50 as confirmation.
  4. In a strong trend the oscillator can stay extreme while price keeps moving.
  5. Divergence and the trend filter help, but price confirmation has the final word.
Stochastic chart showing the 80 overbought zone, 20 oversold zone, buy clue and sell warning
Stochastic chart showing the 80 overbought zone, 20 oversold zone, buy clue and sell warning. View full-size image

Start the lessonTake the quick checkRead the FAQSee the sources

All 7 parts of this lesson

Part 1 of 7 · Range position

What does the stochastic oscillator measure?

The stochastic oscillator measures where the latest close sits inside the recent high-low range. Its scale runs from 0 to 100: a close at the range high scores 100, and a close at the low scores 0. A common lookback is 14 periods.

Fast %K = 100 × (close − lowest low) ÷ (highest high − lowest low). %D is a short moving average of %K; slow settings add smoothing.

Hypothetical calculation

Suppose a close is 6,343.72, the 14-period high is 6,811.15 and the low is 6,316.91. The close is 26.81 above the low in a 494.24-point range: 100 × 26.81 ÷ 494.24 ≈ 5.4. The close is near the range bottom; that does not say the security is cheap or must rise.

The rule

A high or low stochastic reading describes the close’s range position, not a certain reversal.

Marks Part 1 done

Part 2 of 7 · Watch zones

What do readings below 20 and above 80 mean?

Two levels matter most. Below 20 is called oversold: price has been closing near the bottom of its recent range. Above 80 is called overbought: price has been closing near the top.1

Treat both as watch zones, not trade buttons. Oversold can lead to a bounce, and overbought can lead to a pullback, but neither is a signal on its own. In a strong downtrend the oscillator can stay low for longer than beginners expect, and in a strong uptrend it can stay high while price keeps climbing.

Many traders wait for the line to cross back out of the extreme zone before reading anything into it. That small delay filters out a lot of noise.

Stochastic 20 and 80 basics showing overbought sell watch, oversold buy watch and crossover clues
Stochastic 20 and 80 basics showing overbought sell watch, oversold buy watch and crossover clues. View full-size image
The rule

Below 20 means the close sat in the bottom fifth of its recent range; in a strong trend it can stay there for weeks.

Marks Part 2 done

Part 3 of 7 · Crossovers

How do the %K and %D crossovers work?

%K is the faster line and %D is its smoothing or signal line. A cross can suggest a momentum change, but its location and the price reaction matter.

An oversold cross near 20

In the original buy-clue illustration, %K crosses above %D near the oversold zone as price bounces from support. A cross while price keeps falling is weaker evidence.

Stochastic buy signal showing %K crossing above %D in the oversold zone near 20 as price bounces from support
Stochastic buy signal showing %K crossing above %D in the oversold zone near 20 as price bounces from support. View full-size image

An overbought cross near 80

In the original sell-warning illustration, %K crosses below %D near the overbought zone as price rejects resistance. A strong uptrend can remain overbought, so do not read the zone alone as an exit signal.

Stochastic sell warning showing %K crossing below %D in the overbought zone near 80 as price rejects resistance
Stochastic sell warning showing %K crossing below %D in the overbought zone near 80 as price rejects resistance. View full-size image
The rule

Check a crossover against the zone, price action and trend.

Marks Part 3 done

Part 4 of 7 · Confirmation

How do you confirm stochastic crossovers?

Use the 50 line for context

A move above 50 after an oversold turn shows that the oscillator has recovered its midpoint. A move below 50 after an overbought turn shows weakening range position. It is additional context, not a guaranteed direction.

Stochastic 50 line confirmation showing cross above 50 as buy confirmation and cross below 50 as sell confirmation
Stochastic 50 line confirmation showing cross above 50 as buy confirmation and cross below 50 as sell confirmation. View full-size image

Keep the two lines distinct

The close-up below identifies %K and %D. A cross of these two lines is different from a cross of the 50 midpoint. Read both alongside support, resistance and the direction of price.

Stochastic %K and %D crossover detail explaining bullish and bearish momentum crosses
Stochastic %K and %D crossover detail explaining bullish and bearish momentum crosses. View full-size image
The rule

Separate a %K/%D crossover from midpoint confirmation and check both against price.

Marks Part 4 done

Part 5 of 7 · Settings

Should you use fast or slow settings?

When you add the indicator in TradingView, the default is usually 14, 3, 3.4 The first number is the lookback period. The second smooths %K, and the third sets the %D average. This is commonly used as the slow stochastic.

The fast stochastic skips the first smoothing step. It reacts sooner but gives more false signals, so the lines jump around more. For beginners, the slow version is easier to read.1

Fast versus slow Stochastic comparison showing slow Stochastic as the better beginner default
Fast versus slow Stochastic comparison showing slow Stochastic as the better beginner default. View full-size image
The rule

Slow 14, 3, 3 is the common default because the extra smoothing removes many false crosses.

Marks Part 5 done

Part 6 of 7 · Divergence

What is stochastic divergence?

Divergence is a more advanced idea: price and the oscillator disagree. It can warn that a move is running out of energy before price itself turns.

Bullish divergence

Price makes a lower low, but the oscillator makes a higher low. Price is still falling, but the indicator is not falling as hard, so selling pressure may be weakening. Some traders watch for a turn here, especially near support. Confirmation is a bounce, a higher low in price, or a cross back above 20 or 50.

Bullish Stochastic divergence showing price making a lower low while Stochastic makes a higher low
Bullish Stochastic divergence showing price making a lower low while Stochastic makes a higher low. View full-size image

Bearish divergence

Price makes a higher high, but the oscillator makes a lower high. Price is still climbing, but the indicator is not confirming the strength of the move. It does not mean price must fall. It suggests the rally may be losing momentum, especially near resistance or after a strong run.

Bearish Stochastic divergence showing price making a higher high while Stochastic makes a lower high
Bearish Stochastic divergence showing price making a higher high while Stochastic makes a lower high. View full-size image
The rule

Divergence means price and the oscillator disagree, which can show a move losing energy before price turns.

Marks Part 6 done

Part 7 of 7 · Trend filter

How do you filter stochastic signals with the trend?

Stochastics works best when you know whether the stock is trending or moving sideways. In a range, overbought and oversold readings tend to be more useful.2 In a strong trend, the oscillator can pin itself near one extreme.

So many traders give oversold readings more weight in an uptrend and overbought readings more weight in a downtrend. A pullback in an uptrend, where the oscillator cools near 20 and crosses back up while price holds above a key moving average, is the classic example.

Keep the limits in view. Stochastic signals lag price, give many false signals (whipsaws) in choppy markets, and the trading costs and taxes of acting on each one reduce results. FINRA notes that timing the market consistently is very hard, even for professionals.5

Stochastic trend filter showing buy clues in uptrends and sell warnings in downtrends
Stochastic trend filter showing buy clues in uptrends and sell warnings in downtrends. View full-size image
The rule

Overbought and oversold readings work best in a sideways range and worst in a strong trend.

Marks Part 7 done

Quick check

Quick quiz: test what you just read

Pick an answer to see why it is right. 5 questions, no account needed.

0 of 5 answered

1. In the hypothetical calculation, the close is 6,343.72, the low is 6,316.91 and the high is 6,811.15. What is fast %K?

Answer: A.(6,343.72 minus 6,316.91) ÷ (6,811.15 minus 6,316.91) × 100 = 5.4. The close sat near the bottom of its range.

2. What does a stochastic reading above 80 mean?

Answer: B.It describes where the close landed in its range. In a strong uptrend the reading can stay above 80 for weeks.

3. Which crossover is usually read as the textbook bullish clue?

Answer: C.The oversold cross near 20 is the classic bullish reading, and the move above 50 afterwards is the confirmation step.

4. What is the difference between fast and slow stochastics?

Answer: B.The slow version smooths %K before computing %D, so the lines cross less often. The usual default is 14, 3, 3.

5. Price makes a lower low while the stochastic makes a higher low. What is that called?

Answer: B.Bullish divergence means selling pressure is weakening even though price is still falling. It still needs price to confirm.

Questions people ask

Stochastics FAQ

Who invented the stochastic oscillator?

It is credited to George Lane, a technical analyst who developed it in the late 1950s to track momentum.1 His insight was that in up markets prices tend to close near the top of their recent range, and in falling markets near the bottom. When that pattern starts to change, momentum may be shifting before the trend turns.

What is the difference between stochastics and RSI?

Both are momentum oscillators, but they measure different things. Stochastics shows where the latest close sits within the recent high to low range, while RSI compares the size of recent gains with recent losses. Stochastics can react faster and flag more turns, including more false ones. Because both come from the same prices, agreement between them is not independent evidence.

Can stochastics stay overbought for a long time?

Yes. In a strong uptrend, price can keep closing near the top of its range, so the oscillator can stay above 80 while the stock keeps climbing. The same applies in reverse to oversold readings in a strong downtrend.

Does a buy or sell signal mean I should trade?

No. A signal is a description of recent price behavior, not a forecast. Count it only when price confirms it, size any trade so a failed signal is affordable, and remember that frequent trading adds costs and taxes.

Next steps

You finished this lesson.

You now have the main ideas from this lesson. Next, practice where mistakes cost nothing: a free account saves your progress and unlocks the practice simulator with virtual money.

Free, no card. Lessons stay free to read without an account.

Your notes on one card, and what comes next
  1. Step 1 · DoneStochastics
    See your notes on one card
    1. Stochastics measures where the close sits inside its recent high to low range, from 0 to 100.
    2. Below 20 is oversold and above 80 is overbought; both are watch zones, not automatic trades.
    3. A %K cross above %D near 20 is often read as bullish, a cross below %D near 80 as bearish, and a cross of 50 as confirmation.
    4. In a strong trend the oscillator can stay extreme while price keeps moving.
    5. Divergence and the trend filter help, but price confirmation has the final word.
  2. 2
    Step 2 · NowSave your progress with a free account

    Keep your course progress and practice on real U.S. stocks with virtual cash.

    Create your free account No card needed. Lessons stay free to read.
  3. 3
    Step 3Follow the learning path
    The learning pathFree

    Learn the rest in the right order

    Ten modules of lessons, videos, tools and quizzes, ordered so each step builds on the last, from market basics to company analysis and risk.

    Start the learning path

Want the full sequence? See the course outline →

Sources and assumptions

StockEducation provides general education, not personal financial, tax or legal advice. Companies and funds named here are teaching examples only. Nothing here recommends buying or selling any security. Investing involves risk, including the loss of money you invest.

Up nextPart 1 · What does the stochastic oscillator measure?
Next ↓