Backstrap
MomentumStoch

Stochastic Oscillator

Momentum indicator comparing the latest close to the recent high-low range.

What it is

The Stochastic Oscillator, developed by George Lane in the 1950s, asks a simple geometric question: where does today's close sit within the range of recent highs and lows? Closing near the top of the range means bullish momentum; near the bottom means bearish. The result is bounded between 0 and 100, like RSI, but built from a different intuition.

The "Slow Stochastic" variant — what most charts show by default — adds two smoothing layers: the raw %K is smoothed once, then a signal line %D is computed as a moving average of smoothed %K. This dampens whipsaws without losing the core signal.

How it's calculated

Three parameters: kPeriod (default 14), dPeriod (default 3), and smoothing (default 3).

Raw %K = 100 × (Close − LowN) / (HighN − LowN)

where LowN and HighN are the lowest low and highest high over kPeriod bars.

Smoothed %K = SMA(Raw %K, smoothing) %D = SMA(Smoothed %K, dPeriod)

When close = HighN, raw %K = 100. When close = LowN, raw %K = 0. Mid-range close gives 50.

How to interpret signals

Overbought / oversold. %K above 80 is conventionally overbought; below 20 is oversold. Like RSI, these are statistical heuristics, not fixed laws.

Cross signals. %K crossing above %D inside the oversold zone is a classic long signal. %K crossing below %D inside the overbought zone is the symmetric short signal.

Divergence. When price makes a new low but Stochastic does not (bullish divergence), or price makes a new high but Stoch does not (bearish), momentum is fading. Stochastic divergence is one of its cleaner setups.

Strengths

  • Bounded 0-100 scale with a clear geometric interpretation: where in the recent range did we close?
  • Two-line signal system (%K crossing %D) reduces noise versus single-line oscillators.
  • Highly tunable for different timeframes via three parameters.
  • Range-bound markets are where Stochastic genuinely shines.

Limitations

  • Trending markets keep Stochastic in OB or OS for long stretches — false reversal signals are common.
  • Calculation depends on the recent range, so a sudden spike resets the denominator and can produce misleading readings.
  • Three parameters means more tuning surface and more risk of overfitting in backtests.
  • Cross signals lag by 1-3 bars due to the SMA smoothing layers.

Common pitfalls

  • Trading every cross without filtering by trend or market regime.
  • Using fast Stochastic (no smoothing) on noisy timeframes — produces near-constant signals.
  • Treating 80/20 as fixed; many practitioners use 75/25 or 90/10 depending on asset volatility.
  • Ignoring price action context — a Stoch cross during a strong trend often fails.

Related strategies in Backstrap

Educational note: This page explains what Stoch measures and how it is conventionally interpreted. It does not constitute investment advice. Past patterns do not guarantee future results, and no indicator works in all market regimes. See the full disclaimer.

Last updated: 2026-05-08