Williams %R
- Category
- Technical Analysis
- Level
- Professional
Simple definition
A reading from minus 100 to zero showing where the close sits inside the highest high and lowest low of the last n periods.
Professional definition
A range-position oscillator. It measures the distance from the window's highest high down to the current close as a share of the full high-to-low range, reported as a negative percentage: zero at the top of the range, minus 100 at the bottom. The usual lookback is 14.
Technical definition
Williams %R and the stochastic oscillator's raw %K are the same quantity on a different scale: %R equals %K minus 100. One subtracts the close from the top of the range, the other the bottom of the range from the close, and both divide by the same range. In practice they differ only because %R is conventionally plotted raw while %K is usually smoothed, and because the two carry different conventional thresholds.
Academic definition
A bounded oscillator reporting the position of the closing price within the extreme range of a fixed lookback, scaled onto the interval [-100, 0].
Mechanism
The measure is a position, not a rate: it says where the close finished relative to everything the market reached over the window. A reading near zero means the close is at the top of that window, which happens by definition whenever a new high is being made — so in a trend the oscillator pins to its bound and stays there, as any range-position measure must.
In practice
- Who uses it
- Short-term oscillator traders, and developers who want a bounded range-position input with no smoothing stage.
- Why it matters
- It reports range position on a fixed scale from a single parameter, so it screens easily across instruments and timeframes.
- Limitations
- It pins to its bounds in a trend, its extremes mark new highs and lows rather than reversals, and it is the stochastic raw %K relabelled, so running both adds no information.
Common mistakes
- Treating %R and the stochastic as two independent confirmations.
- Buying every reading below minus 80 in a downtrend.
- Comparing a raw 14-period %R with a smoothed slow stochastic.
Examples
In a steady advance %R sits between zero and minus 20 for weeks, because each close is near the top of the trailing window. Selling each reading above minus 20 means selling every new high in a trend.
Over the window the highest high is 120, the lowest low 100, and the close 104. %R is minus 80. The stochastic raw %K on the same three numbers is 20, which is exactly %R plus 100.
- highest high over n periods = 120
- lowest low over n periods = 100
- current close = 104
- range = 120 - 100 = 20
- %R = (120 - 104) / 20 x (-100) = (16 / 20) x (-100) = -80
- %K = (104 - 100) / 20 x 100 = 20
- check: %R = %K - 100 = 20 - 100 = -80
The identity holds for the unsmoothed %K only. A slow stochastic smooths %K, so its plotted line no longer matches %R plus 100.
Mathematical foundation
Variables
| HH_n | Highest high over the last n periods | price units |
| LL_n | Lowest low over the last n periods | price units |
| C_t | Current closing price | price units |
| n | Lookback length; 14 is the common default | periods |
Procedure
Find the highest high and lowest low over the last n periods. Subtract the current close from the highest high, divide by the difference between highest high and lowest low, and multiply by minus 100. The result lies between minus 100 and zero. Adding 100 to it gives the stochastic raw %K for the same window.
Worked example
- HH over n periods = 120
- LL over n periods = 100
- close = 104
- range = 120 - 100 = 20
- (120 - 104) / 20 = 0.8
- %R = 0.8 x (-100) = -80
- %K = (104 - 100) / 20 x 100 = 20, so %K - 100 = -80
Interpretation
The number is a position inside a trailing extreme range. Zero means the close is at the window's high and minus 100 means it is at the window's low. It says nothing about the size of the range, only about where the close finished inside it.
Assumptions
- A lookback of 14 is the common default; any other length changes every value and the thresholds with it.
- Williams %R is conventionally plotted raw, with no smoothing. The identity %R = %K - 100 holds against the unsmoothed fast %K only, not against a smoothed slow stochastic.
- If the highest high equals the lowest low, the ratio is undefined. Implementations differ: some return 0, some minus 100, some carry the previous value forward.
- The window extremes are single observations, not averages, so one spike bar sets the denominator for n periods afterwards.
- Bounded, so it pins at its extremes in a trend; a reading of minus 2 means a new high is being made, not that a reversal is near.
- It contains the same information as the stochastic raw %K, so treating the two as independent signals double-counts one measurement.
- Because the denominator is built from two extreme bars, a single outlier compresses the oscillator for the whole remaining window.
Related terminology
- related
- Stochastic Oscillator Relative Strength Index Overbought and Oversold Divergence Commodity Channel Index Timeframe
Stochastic Oscillator
They are the same quantity: %R equals raw %K minus 100. The stochastic is usually smoothed and plotted on 0 to 100; %R is usually raw on minus 100 to 0.
Sources
CMT Association · discussion of momentum oscillators and range-position measures
https://cmtassociation.org/wp-content/uploads/2019/01/Technical-Analysis-Modern-Perspectives-CMT-Association.pdf URL verified
CMT Association · oscillator family in the body of knowledge
https://cmtassociation.org/wp-content/uploads/2026/03/2026-CMT-Program-Guide_v2026.3.5.pdf URL verified
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
