Learn
Lesson · Technical Indicators

Stochastic Oscillator

Measure where the close sits inside its recent high-low range, compare %K and %D smoothing, and explain from the formula why range position pins near an extreme in a trend and turns in a sideways market.

Review the process
Synthetic educational data

Core concepts

Understand what the indicator calculates, how its parameters affect it, and what it cannot establish by itself.

1

Range position

The raw stochastic value expresses the current close as a percentage of the selected recent high-low range.

2

%K and %D

%K is the faster line after optional smoothing. %D is a moving average of %K and reacts more slowly.

3

Regime sensitivity

Crosses and extreme readings can be useful in ranges but may remain pinned during persistent trends.

Interactive lesson

Change the inputs, inspect the calculation, and compare the indicator with the underlying price data.

Price and stochastic oscillator%K, %D, extreme zones, and line crossings
%K%D
PriceHigh-low range drives the calculation
Stochastic oscillator14, 3, 3

Read the stochastic oscillator

Separate range position, smoothing, and crossover events before assigning meaning.

1

Define the recent range

Select the lookback used to find the highest high and lowest low.

2

Calculate raw position

Measure where the current close sits between those boundaries.

3

Apply %K and %D smoothing

Document each smoothing period because it changes signal timing.

4

Interpret the regime

Use extreme readings and crossings differently in a range than in a persistent trend.

Stochastic range position

Score 0 / 0

Lesson rule

The stochastic oscillator measures closing position inside a recent range; an extreme reading does not prove that the range boundary will hold.

Common mistakes

1
Confusing stochastic with price velocityIt primarily measures range position, not a direct rate of change.
2
Buying or selling every extremeThe oscillator can remain near 0 or 100 while a trend extends.
3
Ignoring smoothing settingsFast, slow, and full stochastic variants can produce materially different crossing behavior.

Completion standard

✓
Finish when you can reconstruct %K from the recent range.

Identify the highest high, lowest low, and close; calculate raw %K; explain the effect of each smoothing input; and compare crossing behavior in a trend and a range.

Calculation note: This lesson calculates raw %K over the high-low lookback, applies a simple moving average for %K smoothing, then applies another simple moving average for %D. Platform variants may differ.

Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it. Carry it to another device.

Feedback and recommendations

Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.

No recommendations yet for this lesson.