09 — Oscillators

Williams %R#

Debated1 min read
◆ The PatternThe stochastic seen from the top: how far the close sits below the recent high

Williams %R — Larry Williams' fast momentum oscillator.

%R = (Highest High − Close) / (Highest High − Lowest Low) × −100

Scale: 0 to −100. Default: 14 periods. Essentially an inverted fast stochastic (%K).

Zones:
• Above −20 → overbought
• Below −80 → oversold
Very responsive — useful for short-term timing but prone to false signals in trending markets.
Worked example

Day 15: highest high 105, lowest low 98, close 104, so %R = −100 × (105 − 104) / (105 − 98) = −14.3, inside the “overbought” zone above −20. It is the stochastic’s %K seen from the top: 85.7 − 100 = −14.3.

The example data: 15 days, used in every indicator here
DayHighLowCloseVolume
11019910050,000
210310010262,000
310310010148,000
410510110470,000
510810410785,000
610810510660,000
711010610990,000
811010710872,000
910810410580,000
1010510210366,000
1110510210455,000
1210410110275,000
13102989995,000
141029910164,000
1510510110471,000
Where it misleads
  • It shares the stochastic’s weakness: it stays at an extreme for as long as a trend lasts.
  • Unsmoothed, it is the noisiest of the range oscillators — one wide bar can move it across the scale.
  • The negative scale carries no information beyond %K; it mostly causes confusion.
In code
hh = df['high'].rolling(5).max()
ll = df['low'].rolling(5).min()
df['wr5'] = -100 * (hh - df['close']) / (hh - ll)
Python, in your browser — edit the code and run it again

Assumes import numpy as np, import pandas as pd, and a DataFrame df with columns high, low, close and volume — the 15 days above.

Sources
  • L. Williams, How I Made One Million Dollars Last Year Trading Commodities, Windsor Books, 1973
  • Technical Analysis of the Financial Markets, J. J. Murphy, New York Institute of Finance, 1999

Last reviewed October 2026 · How this site checks its content · Report a mistake

Pattern bridge: Williams %R is the stochastic oscillator inverted — same math, different perspective. Like percentiles read from top instead of bottom.
Linked from 1
← Previous
Commodity Channel Index
Open in the full reader, with the topic sidebar