The stochastic oscillator asks a different question from the RSI. Not how big were the ups and downs, but where did the latest close finish inside the recent range? By the end of this lesson, you'll be able to work it out by hand and read its two lines. And you'll see how it behaves in trends and in sideways markets.
1 of 8
What you'll learn
- Work out %K. Find where the close sits in the 14-candle high to low range.
- Add %D. It is a 3-candle average of %K.
- Read 80 and 20. These lines are the stochastic's overbought and oversold.
- Watch it in a trend. It can sit near 100 or 0 while a trend lasts.
- Expect jumps. One close near a new high or low can swing it across the scale.
Exercise
- On a 5-minute MES1! chart, on TradingView or any platform, add the stochastic.
- Pick one candle, find the highest high and lowest low of the 14 candles up to it, and work out %K by hand.
Quick check
1. The close is right on the 14-candle low. What is %K?
2. What is %D?
3. Why is the stochastic jumpier than the RSI?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
The stochastic oscillator shows where the latest close sits in the recent high-to-low range, from 0 at the low to 100 at the high; %D is a 3-candle average of that score, %K.
- %K = (close − lowest low) ÷ (highest high − lowest low) × 100, over the last 14 One bar on a price chart. It shows where price opened and closed, and the highest and lowest it reached, in one stretch of time.More in the glossary by default.
- %D = a 3-candle average of %K. Lines at 80 and 20 are the An indicator from 0 to 100 that shows where the latest close sits inside the recent high to low range.More in the glossary's versions of A label for an oscillator reading near the top of its scale, such as RSI above 70. It describes a strong recent rise, not what comes next.More in the glossary and A label for an oscillator reading near the bottom of its scale, such as RSI below 30. It describes a strong recent fall, not what comes next.More in the glossary.
- In a strong Price moving mostly one way. An uptrend makes higher highs and higher lows; a downtrend makes lower highs and lower lows.More in the glossary it can stay near 100 or 0. In a sideways market it swings from end to end.
- It's jumpier than the An indicator from 0 to 100 that compares the size of recent gains with recent losses.More in the glossary: one close near a new high or low can swing it right across the scale. Smoothed versions are called slow.
- More: Stochastic oscillator.
Worked example
Made-up numbersOne %K, by hand
Made-up numbers · 14 candles · high 5,060 · low 5,020 · close 5,050
- Range: 5,060 − 5,020 = 40
- Close above the low: 5,050 − 5,020 = 30
- 30 ÷ 40 × 100 = 75
The close finished three quarters of the way up the recent range.
Your turn
DrillLast 14 candles: highest high 5,080 · lowest low 5,040 · latest close 5,050
Trading is risky. You can lose money. This lesson explains how trading works. It isn't advice.