Overbought and Oversold

An asset is called overbought when its price has risen so far and so fast that a pause or a pullback is seen as likely, and oversold after an equally sharp fall. Technical analysts judge this with oscillators, indicators that move within a fixed range, and read a value near the top of that range as overbought and one near the bottom as oversold. The levels are conventions set by the authors of each indicator, not statistical thresholds.

Each oscillator has its own scale and levels:

  • Relative Strength Index: from 0 to 100, overbought above 70 and oversold below 30 (Wilder, 1978).
  • Stochastic Oscillator: from 0 to 100, overbought above 80 and oversold below 20 (Lane, 1984).
  • Commodity Channel Index: unbounded, with the constant of 0.015 set so that most values fall between -100 and 100, and a move beyond 100 or below -100 read as the start of a trend or an extreme (Lambert, 1980).
  • Chande Momentum Oscillator: from -100 to 100, overbought above 50 and oversold below -50 (Chande and Kroll, 1994).
  • Williams %R: from 0 at the high of the window to -100 at the low, overbought above -20 and oversold below -80 (Williams, 1973).

An overbought reading is not a sell signal on its own. In a strong trend an oscillator can stay overbought or oversold for weeks while the price keeps moving in the same direction, which is why Wilder and Lane gave more weight to divergences, a new price high that the oscillator does not confirm, and why many traders use the levels only in the direction of the trend. A shorter window makes an oscillator reach its extremes more often.

The Finance Toolkit calculates all five oscillators and returns their values, so that any level can be applied to them.

Example · AAPL, MSFT · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["AAPL", "MSFT"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
    benchmark_ticker=None,
)

toolkit.technicals.get_relative_strength_index().tail(8)

Which returns:

Item AAPL MSFT
2025-12-19 49.0173 48.7212
2025-12-22 44.0573 47.9724
2025-12-23 47.029 49.5829
2025-12-24 50.0121 50.5816
2025-12-26 49.1689 50.2973
2025-12-29 49.9666 49.7053
2025-12-30 48.4209 50.0993
2025-12-31 45.6902 46.1447

References

  • Paper Wilder, J.W. Jr. (1978). “New Concepts in Technical Trading Systems.” Trend Research.
  • Paper Lane, G.C. (1984). “Lane’s Stochastics.” Technical Analysis of Stocks & Commodities, 2(3).
  • Paper Lambert, D.R. (1980). “Commodity Channel Index: Tool for Trading Cyclic Trends.” Commodities, October 1980; reprinted in Technical Analysis of Stocks & Commodities, 1(5), 120-122.
  • Paper Chande, T.S. & Kroll, S. (1994). “The New Technical Trader.” Wiley.

Updated:

Share