Module 9 · Lesson 6

Stochastic Oscillator

A stochastic oscillator compares a recent closing price with the recent high-low range. It is a past-price measure of where the close sits within that range, not a test of a company’s value.

Quick answer

What does a stochastic reading show?

A stochastic %K reading maps the close’s position within a chosen high-low range to a 0 to 100 scale. A high reading places the close near the top of that range, while a low reading places it near the bottom. A smoothed %D line may appear beside %K, and the chosen periods and smoothing change the picture.

How is the position calculated?

For a chosen lookback, compare the current close with the lowest low and highest high in that window. A close at the low maps near 0 and a close at the high maps near 100. If the range is zero, the chart provider must handle that edge case under its own calculation rules.

What do 20 and 80 mean?

Many chart users mark readings below 20 or above 80 as low or high positions within the recent range. Those common thresholds are adjustable and do not require a trade. In a persistent trend a reading can stay near an extreme while price keeps moving.

What is the difference between %K and %D?

%K is the main range-position calculation; %D is a smoothed version often used for comparison. A crossing means their historical relationship changed. A cross can reverse quickly in a choppy market and cannot by itself establish future price direction.

How does a stochastic divergence work?

A chart reader can compare two price highs or lows with the oscillator at those dates. A mismatch describes different behavior in the price and range-position measures. It is not proof of a reversal; mark the periods and check the larger chart context.

What are the limits of this indicator?

A level near 0 or 100 describes the recent range, not an intrinsic bargain or overvaluation. Fast settings can change sharply; trading every cross can create costs and false leads.

IBM: reproduce a dated stochastic %K and %D

Sources: Alpha Vantage: IBM daily price and share-volume observations; Fidelity: indicator formula. Checked October 8, 2026. Prices are US dollars per share; volume is reported shares. These are the provider’s unadjusted daily observations, not assumed prices or real-time quotes.

For October 7, use the 14 trading sessions from September 18 through October 7. Fast %K = 100 × (latest close − lowest low) / (highest high − lowest low). To calculate the three-reading fast %D, also calculate %K for October 5 and 6. The 16 dated observations below cover those three overlapping 14-session windows.

Show the dated high, low, close and volume inputs
IBM daily inputs: September 16–October 7, 2026
DateHigh ($)Low ($)Close ($)Volume (shares)
2026-09-16243.3399235.4100237.49006,181,838
2026-09-17243.3650237.3500237.75005,905,870
2026-09-18237.8900229.3800229.550013,413,822
2026-09-21234.7000228.3500231.93008,200,086
2026-09-22236.2000230.0800231.38004,808,838
2026-09-23237.8600232.5300232.76004,539,608
2026-09-24232.6168226.0100227.06004,149,575
2026-09-25228.9900225.1900225.51004,147,449
2026-09-28223.1356219.2300220.67005,291,533
2026-09-29223.1200219.9100219.99003,766,484
2026-09-30222.3300218.6000219.93004,569,780
2026-10-01234.2700224.5000225.62008,884,106
2026-10-02225.9150221.6300222.64007,756,783
2026-10-05222.8800220.3000221.58006,318,079
2026-10-06224.5100221.0000221.29003,938,659
2026-10-07222.4100218.7900220.51003,895,497
Three 14-session %K calculations
DateWindow high ($)Window low ($)Close ($)Fast %K
2026-10-05243.3650218.6000221.580012.0331
2026-10-06243.3650218.6000221.290010.8621
2026-10-07237.8900218.6000220.51009.9015

On October 7, %K = 100 × (220.51 − 218.6000) / (237.8900 − 218.6000) = 9.9015. Fast %D = (12.0331 + 10.8621 + 9.9015) / 3 = 10.9322, using unrounded %K values. This is fast stochastic with a 14-session lookback and a three-reading simple average; a slow stochastic adds smoothing and can differ.

The close was near the bottom of the observed range. A reading below 20 describes that range position; it does not prove that a rebound is imminent or that IBM is undervalued.

Key takeaways

  • Fast %K locates the close within a dated high–low range.
  • Fast %D here averages three consecutive %K readings; a slow stochastic uses further smoothing.
  • An extreme range position does not guarantee a price reversal.

Check your understanding

1. What does %K compare?
A. A close with a recent high-low range. B. Debt with equity. C. Price with a guaranteed target.

Show answer and feedback

A. %K places the close within the selected range.

2. What is %D often used for?
A. Showing dividends. B. Smoothing the %K series. C. Measuring cash flow.

Show answer and feedback

B. %D is commonly a smoothed comparison line.

3. Does a reading above 80 require a sale?
A. Yes. B. Only when volume is high. C. No; it may remain high in a trend.

Show answer and feedback

C. An extreme range position is not a trade instruction.

Why question: Why can the oscillator stay high while price rises?

Show a sample explanation

Repeated closes near the top of each rolling high-low range can keep the reading elevated.

Observe AAPL with this indicator

Open StockEducation’s chart tool with AAPL loaded. Open the AAPL daily chart. If a stochastic overlay is available, record one date when the close was near the top of the recent range and inspect the reading. If not, choose any five consecutive daily bars and compare the last close with their highest high and lowest low. State what the range-position reading cannot prove.

Where can you check the definition and risk context?


End of Lesson · Continue to the Next Topic

AI Tutor Online
Ask Anything
AI
Hi! I’m your AI tutor for this lesson. Ask me anything about the content — I’m here to help you understand it deeply.

AI responses are for educational purposes. Always verify with official course materials.

This lesson teaches a concept. It is general education, not advice about your money. Before you act on anything you learn here, speak to someone licensed.

Sources and reference material

Primary sources and original reference material for the concepts discussed on this page.

References added 14 October 2026.

AI Tutor Online
Ask Anything
AI
Hi! I'm your AI tutor for this lesson. Ask me anything about the content — I'm here to help you understand it deeply.

AI responses are for educational purposes. Always verify with official course materials.

This lesson teaches a concept. It is general education, not advice about your money. Before you act on anything you learn here, speak to someone licensed.

This lesson teaches a concept. It is general education, not advice about your money. Before you act on anything you learn here, speak to someone licensed.