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
| Date | High ($) | Low ($) | Close ($) | Volume (shares) |
|---|---|---|---|---|
| 2026-09-16 | 243.3399 | 235.4100 | 237.4900 | 6,181,838 |
| 2026-09-17 | 243.3650 | 237.3500 | 237.7500 | 5,905,870 |
| 2026-09-18 | 237.8900 | 229.3800 | 229.5500 | 13,413,822 |
| 2026-09-21 | 234.7000 | 228.3500 | 231.9300 | 8,200,086 |
| 2026-09-22 | 236.2000 | 230.0800 | 231.3800 | 4,808,838 |
| 2026-09-23 | 237.8600 | 232.5300 | 232.7600 | 4,539,608 |
| 2026-09-24 | 232.6168 | 226.0100 | 227.0600 | 4,149,575 |
| 2026-09-25 | 228.9900 | 225.1900 | 225.5100 | 4,147,449 |
| 2026-09-28 | 223.1356 | 219.2300 | 220.6700 | 5,291,533 |
| 2026-09-29 | 223.1200 | 219.9100 | 219.9900 | 3,766,484 |
| 2026-09-30 | 222.3300 | 218.6000 | 219.9300 | 4,569,780 |
| 2026-10-01 | 234.2700 | 224.5000 | 225.6200 | 8,884,106 |
| 2026-10-02 | 225.9150 | 221.6300 | 222.6400 | 7,756,783 |
| 2026-10-05 | 222.8800 | 220.3000 | 221.5800 | 6,318,079 |
| 2026-10-06 | 224.5100 | 221.0000 | 221.2900 | 3,938,659 |
| 2026-10-07 | 222.4100 | 218.7900 | 220.5100 | 3,895,497 |
| Date | Window high ($) | Window low ($) | Close ($) | Fast %K |
|---|---|---|---|---|
| 2026-10-05 | 243.3650 | 218.6000 | 221.5800 | 12.0331 |
| 2026-10-06 | 243.3650 | 218.6000 | 221.2900 | 10.8621 |
| 2026-10-07 | 237.8900 | 218.6000 | 220.5100 | 9.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?
- Fidelity: Fast Stochastic Oscillator
- FINRA: What Is Market Timing?
- FINRA: Stocks and Price Volatility
- SEC Investor.gov: Introduction to Investing
End of Lesson · Continue to the Next Topic
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.
- Fidelity: Fast Stochastic Oscillator
- FINRA: market timing and buy-and-hold strategies
- FINRA: Stocks
- SEC Investor.gov: Introduction to Investing
References added 14 October 2026.
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.
