Skip to content
← stocks-llm · Glossary

The stochastic oscillator

Where the latest close sits inside the range a stock has actually traded in over the last 14 sessions — 0 at the bottom, 100 at the top.

The stochastic oscillator answers a narrow, concrete question: of everything this stock has traded at over the last 14 sessions, where did it close today? It takes the highest high and the lowest low of that window and reports the latest close as a position between them, from 0 — closing exactly at the low — to 100, closing exactly at the high. That number is called %K. A second line, %D, is simply the average of %K over the last three sessions, and it moves more slowly, so comparing the two shows whether the position is still sliding or has begun to turn. The convention is that below 20 is "oversold" and above 80 is "overbought", and those bands are what almost every chart means when it draws the indicator.

It is easy to mistake this for a second version of RSI, because the two sit side by side and share the words "overbought" and "oversold". They measure different things. RSI is about SPEED: it weighs the size of recent up-moves against the size of recent down-moves, so it is high when a stock has been rising quickly. The stochastic is about POSITION: it does not care how fast the price got where it is, only where that is relative to the range. The two therefore disagree often, and the disagreement is informative rather than a fault. A share that drifts gently lower for three weeks ends up at the bottom of its range with a perfectly ordinary RSI; a share that falls hard for two days may still close in the middle. Across the companies stocks-llm covers, only about one in seven of the stochastically-oversold list is also oversold on RSI.

Two limits are worth stating plainly. First, neither reading is a signal. A company in genuine decline makes new lows repeatedly and reads oversold the entire way down, and a company in a strong advance closes near the top of its range week after week. The indicator describes where the price has been, not where it is going. Second, because it is a position rather than an average, it moves a great deal from day to day: the set of companies sitting below 20 can roughly double or halve within a fortnight, so this is a snapshot rather than a standing list. stocks-llm computes it nightly from delayed daily-close prices, split-adjusted, and declines to report it where the 14-session range is so small that a position inside it would mean nothing. Nothing here is advice.

Stocks at the bottom of their 14-day range →

See more terms in the stocks-llm glossary.

Informational only — NOT financial advice. This is an educational definition, not a recommendation to buy or sell anything. Metrics on stocks-llm are delayed data and may be missing or stale. Always verify information independently and consult a qualified financial professional before making any investment decision.

Research stocks in your own words.

Informational only — NOT financial advice.

ScreenersBlogPrivacyiOS app