WhitmanTrading

How to Use the Stochastic

To use the stochastic oscillator, read it as the position of the close within the recent high-low range. A reading near the top means closes have been near the highs, which marks exhaustion in a range and strength in a trend — the same number meaning opposite things.

The stochastic asks one question: where in the recent range did price close. It is a genuinely useful question in a range-bound market and almost meaningless in a trending one, and the indicator cannot tell you which you are in.

Before you start

The three inputs set deliberately rather than left at 14, 3 and 3. The lookback decides what “recent” means; the two smoothing numbers decide how much noise reaches the line.

A decision about whether the market is ranging or trending, made before any level is read. The same reading inverts in meaning between the two, so this cannot be decided afterwards.

The instrument’s ordinary bar range, so a signal can be told apart from noise. On this site’s shared series the median bar range is 0.493 with a ninetieth percentile of 1.101.

The steps

1. Read it as position within the range

A candlestick chart with closes marked against a recent range.
Where the close sits in the recent high-low band. Illustrative chart - not real market data.

A reading of 90 means the close was near the top of the lookback window’s range. It contains no information about value, fairness or what happens next.

2. Classify the market before reading any level

The first half of a price series in a persistent trend.
A trend pins the oscillator to one end. Illustrative chart - not real market data.

In a trend, closes are consistently near one end of the range, so the oscillator sits at an extreme for many bars. Reading that as exhaustion is the error this indicator produces most.

3. Set the lookback from your holding period

A section of the price series with a shorter window applied.
The lookback defines what 'recent' means. Illustrative chart - not real market data.

A 5-period window describes the last week of daily bars; a 21-period one describes the last month. Match it to how long you actually hold rather than to a default.

4. Use the crossover rather than the level

A window of price bars where two lines cross.
The crossover is the event; the level is the context. Illustrative chart - not real market data.

The fast line crossing the slow one is a discrete event you can act on. An extreme reading on its own is a condition that can persist for 20 bars.

5. Require the crossover to happen at an extreme

The second half of a price series with a signal at a boundary.
A crossover in the middle carries almost nothing. Illustrative chart - not real market data.

A cross near 50 is noise — the two lines are close together and cross constantly. A cross from above 80 or below 20 is the configuration the indicator was built to produce.

6. Confirm against structure before acting

A range-bound stretch with a level tested repeatedly.
The oscillator is a second opinion, not a first one. Illustrative chart - not real market data.

A signal at a level that already mattered is a different event from one in open space, and the oscillator has no way to distinguish them.

7. Take the stop from the chart, not from the indicator

A long-horizon view with an invalidation level marked.
The oscillator contains no price levels at all. Illustrative chart - not real market data.

Where the idea is wrong is structural. That distance then sets the position size, and the oscillator plays no part in either decision.

How to tell it worked

You can state which market type you decided you were in, before reading any level.

Crossovers occurring between 30 and 70 produced 0 trades. Those are the ones with the least information in them.

A reading that stayed above 80 for 15 bars did not produce a short, which is the trend classification doing its job.

And every entry had a stop taken from structure, so the size came from the chart rather than from the oscillator.

What it cannot see

A candlestick chart annotated with the round-trip cost of a switch.
Every crossover acted on costs a round trip. Illustrative chart - not real market data.

It cannot see volume, context or anything outside its lookback window. On this site’s shared series a round trip measures about 2% of the median bar range of 0.493, so a strategy taking every crossover pays that repeatedly for a signal about the last fourteen bars. The figures are in research/series-measurements.json.

A candlestick chart with a volume histogram beneath it.
And a narrow range makes every reading extreme. Illustrative chart - not real market data.

In a very tight range the denominator is tiny, so trivial movement produces readings at both extremes within a few bars. The oscillator is scale-free, which is useful and means a quiet market looks exactly like an active one.

How it differs from the relative strength index

A candlestick series with several gaps, the largest of them marked.
A gap widens the range and resets the reading. Illustrative chart - not real market data.

They measure different things and get used interchangeably. The relative strength index measures how one-sided recent movement was; this measures where the close sits inside the range.

Which means they disagree in a specific situation: a market drifting up in small steps produces a high reading here and a moderate one there, because the closes are near the highs while the movement is not especially one-sided.

Running both is usually running one indicator twice. Pick the question you are actually asking.

The original data

Of the 24,971 unique videos in research/search-study-corpus.jsonl, 184 mention this oscillator in the title, at a median of 11,915 views across 136 channels — and 64% of those titles are instruction-shaped. The relative strength index appears in 154 instruction-shaped titles at 4,398. The counts come from site/corpus_count.py and site/rank_howto.py.

A stretch of price bars cut short at a decision point.
The reading is 94. Short it? Illustrative chart - not real market data.

184 videos at 11,915 — nearly three times the audience per video of the more famous oscillator. That is unusual, and it suggests people arrive at this one having already been disappointed by the other.

The answer to the question on that chart is that 94 in a trend describes closes near the highs, which is what a trend does. On this site’s series direction runs average 2.01 bars and the longest ran 11 — extremes persist rather than counting down.

When it fails

The failure is a trend read with range settings, and it repeats until the account notices. The oscillator pins above 80, every bar looks like a better short, and price continues. Each signal is accurate about what it measured — closes were near the top of the range — and the question being asked of it, whether the move is finished, is one it has never been able to answer.

The second failure is acting on the level rather than the crossover. The level is a condition.

A third is taking crossovers near the middle. The lines cross there constantly.

A fourth is running it alongside the relative strength index. They mostly duplicate.

A fifth is comparing readings across instruments. It is scale-free by construction.

And a sixth is placing a stop from the oscillator. It contains no prices.

Stochastic explains the calculation and what the smoothing inputs do. Stochastic RSI is the hybrid and how it differs from both parents. And trading range is the condition where the default interpretation applies.

What I actually do

What made it usable was accepting that it answers a question about the recent range rather than about value. A reading of 92 means closes have been near the top of the last fourteen bars. Whether that is exhaustion or strength is a question about the market type, and the oscillator has no view on it whatsoever.

— Michael Whitman

This page is educational, not financial advice. Test every idea on your own charts before risking money.