What you will learn

Learn how the stochastic (%K, %D) — where the close sits within the recent price range on a 0–100 scale — is calculated and what to watch out for.

Stochastic examples — lower pane, dashed lines at 80 and 20Sample data · not a real stock

What to look for%K (blue) and %D (orange) often move above 80 and below 20. Compare with when the price is at the top or bottom of the range.

CautionThe stochastic is more sensitive than RSI, so its signals change often.

1260 bars · 2018-11-12 – 2023-09-08
On price
Lower panes
Auto

Sample (synthetic) data: not a real stock or real prices, but prices generated to explain the idea. Drag the chart to move through time and use the wheel or two fingers to zoom.

Concept

The stochastic oscillator, popularized by George Lane, asks: “Within the range of the last 14 days, is today’s close near the top or near the bottom?” Near 100 means the close was near the top of the range; near 0 means near the bottom.

It looks like RSI, but RSI compares gains with losses while the stochastic looks at position within the recent price range. Compare the same examples on the RSI page.

How it is calculated

Raw %K = (today’s close − 14-day low) ÷ (14-day high − 14-day low) × 100 Slow %K = 3-day average of raw %K %D = 3-day average of slow %K

Cautions when reading it

Chart shapes and indicators summarize past prices. The same shape is sometimes right and sometimes wrong depending on the market, and this page does not tell you when to buy or sell any stock. To practice yourself, try the chart lab or mock trading.

Quick quiz 3 questions

  1. What does it mean when stochastic %K is near 100?
  2. What is the %D line?
  3. Compared with RSI, what is often said about the stochastic?
0 / 3 answered

All learning steps · Glossary · Stock textbook (Korean)