KFX — Kasuwar Forex
KFX Academy/Technical Indicators

Level 2 · Lesson 5 / 11 · English

Stochastic Oscillator

4 min reading · Exercises take additional time

0 of 11 lessons completed for this visit

The stochastic oscillator measures where a closing price sits within a recent high-low range. It is not a probability estimate despite its name. The related chart uses computed hypothetical data to show how range position and smoothing behave; it does not identify certain reversals or provide live market signals.

What you will learn

  • Calculate raw %K from a closing price and lookback range.
  • Distinguish raw, slow and smoothed stochastic lines.
  • Interpret extreme readings without assuming immediate reversals.

Illustrative educational chart · Not live market data

0501003070EarlierLater
Close-only simplified %K(5), %D(3) · Not full OHLC stochastic. Fixed hypothetical observations, not a forecast or trading signal.

Position within a recent range

Raw %K = 100 × (close − lowest low) ÷ (highest high − lowest low). The extremes come from the selected lookback, commonly 14 bars, including the bar being measured. A reading of 80 places the close four-fifths of the way from the lowest low to the highest high. It does not imply an 80% chance of a price increase.

The oscillator uses highs and lows, unlike an RSI calculation based on close-to-close changes. A new high, a new low or an older extreme leaving the window can change the value even if the latest close changes little. If highest high equals lowest low, the denominator is zero; implementations need an explicit convention for that flat-range case.

Fast, slow and full settings

In a common fast implementation, %K is the raw range-position calculation and %D is its three-period SMA. A common slow version first smooths raw %K with a three-period SMA, then smooths that result again for %D. Full versions allow these parameters to vary. Platform labels differ, so record the actual formulas rather than relying only on the word stochastic.

A setting written 14, 3, 3 often describes the range lookback and two smoothing lengths, but confirm the order on the platform. More smoothing reduces short-term variation and introduces additional delay. Shorter lookbacks can react sharply to changing ranges. Comparisons are meaningful only when settings and data treatment match.

Interpreting extremes and crossings

Levels such as 80 and 20 are conventional reference points. In a strong uptrend, repeated closes near the top of the range can keep the oscillator above 80. Selling simply because the value is high can oppose a persistent trend. During ranges, reversal ideas still require explicit entry, exit and risk rules.

A %K/%D crossing describes a change between two related calculations, not independent evidence of future direction. Crossings during a developing candle may disappear before close. Test completed-bar rules with realistic execution timing, and avoid choosing only the clearest historical examples. A bounded oscillator can remain extreme while a leveraged position experiences substantial losses.

Key terms

Raw %K
The close’s percentage position within the lookback high-low range.
%D
A smoothed stochastic line, commonly an average of %K.
Lookback
The historical window used to identify the range extremes.

Hypothetical worked example · Not live market prices

Hypothetical raw stochastic calculation

  1. Assume the lookback lowest low is 100, highest high is 110 and close is 108.
  2. Distance above the low = 108 − 100 = 8.
  3. Range width = 110 − 100 = 10.
  4. Raw %K = 100 × 8 ÷ 10 = 80. Smoothed lines require additional observations.
Hypothetical raw stochastic calculation
QuantityValue
Close108
Lowest low / highest high100 / 110
Raw %K80

Simplified educational calculations. Costs, slippage and provider-specific adjustments apply where relevant; these are not actual returns.

Common mistakes to avoid

  • Reading 80 as an 80% probability of a profitable trade.
  • Comparing raw %K with a slow stochastic without checking smoothing.
  • Assuming a reading above 80 forces price to fall.

Lesson summary

Stochastic describes closing location within a changing range. Settings and market conditions determine its behaviour; high or low readings do not establish future direction.

Practical exercise

With the same low of 100 and high of 110, calculate raw %K for a close of 102. The answer is 20. Explain why additional data are needed to calculate a three-period %D.

Knowledge check

Check your understanding

1. What is raw %K for close 108, lowest low 100 and highest high 110?
2. What does a stochastic reading near 100 primarily describe?

Results apply to this attempt only and are not saved to a student account. No certificate is issued.

Answer all questions correctly and complete the exercise. Progress follows you between Academy pages for this visit only; it is not saved to an account and resets on reload.

Back to Course

Related lessons

Financial education, not personal investment advice. Leveraged Forex and CFDs can lead to substantial losses. Demo practice and correct quiz answers do not guarantee trading success.