Library · Indicators
Williams %R
Williams %R shows where the latest close sits within the high-low range of the last N periods, on a scale from 0 at the top of the range to -100 at the bottom.
Why it matters
Williams %R, developed by Larry Williams, answers a single plain question: within the range price has covered over the last few periods, how close did the latest candle close to the top?
It is worth knowing for two reasons. Its arithmetic is simple enough to check on a napkin, which makes its limits obvious. And it is the Stochastic Oscillator turned upside down, a neat demonstration that indicators with different names can carry identical information.
What it looks like
%R is a single, fairly jagged line in a separate panel.
- Top of the range0 to -20The close is in the top fifth of the recent range. Conventionally called "overbought".
- Middle-50The close is in the middle of the recent range.
- Bottom of the range-80 to -100The close is in the bottom fifth of the recent range. Conventionally called "oversold".
In plain words
Picture a lift in a building whose top and bottom floors are the highest and lowest prices of the last 14 candles. Williams %R tells you how many floors below the top the lift stopped: 0 means the top floor, -100 means the ground floor. It tells you where the lift is. It does not tell you which button gets pressed next, and the building itself gains or loses floors as the range changes.
How it is calculated
- Find the highest high of the last N periods (14 by default).
- Find the lowest low of the same periods.
- Measure how far the latest close is below the highest high.
- Divide by the whole range and multiply by -100.
%R = -100 × (highest high - close) / (highest high - lowest low)A close at the highest high gives 0. A close at the lowest low gives -100.Two closes in the same rangeHypothetical illustration
All prices are hypothetical. Over the last 14 periods the highest high is 110 and the lowest low is 100, so the range is 10.
Close at 108. %R = -100 × (110 - 108) / (110 - 100) = -100 × 2 / 10 = -20. The close is two-tenths of the way down from the top.
Close at 101. %R = -100 × (110 - 101) / 10 = -100 × 9 / 10 = -90. The close is near the bottom of the range.
For comparison, Stochastic %K for the first close is 100 × (108 - 100) / 10 = 80, and 80 - 100 = -20. The two indicators state the same fact from opposite ends.
Settings and what they change
| Setting | Effect | Trade-off |
|---|---|---|
| Shorter period (for example 7) | The range is narrow, so the line swings between the extremes quickly | Readings beyond -20 and -80 are constant and mean little |
| Default period (14) | The most common value | A middle ground |
| Longer period (for example 28) | The range is wide, so the line moves more slowly | Slow to reflect a change in recent behaviour |
Because %R has no smoothing, the period is the only thing that controls its sensitivity. Trying periods until the visits to -20 and -80 line up with past turning points is overfitting: the setting has been matched to noise.
How to read it
- Near 0: recent closes are at the top of the recent range. In an uptrend, this is the normal condition and can persist for a long time.
- Near -100: recent closes are at the bottom of the recent range. In a downtrend, this is equally normal.
- Crossing -50: the close has moved from one half of the range to the other.
- Leaving an extreme zone: the close is no longer at the edge of the range. Either price pulled back or the range itself shifted.
The classic “overbought” and “oversold” reading fits best when price is moving back and forth in a range, since the indicator literally measures position inside a range. In a trend, the same reading describes persistence.
Going deeper
| Aspect | Williams %R | Stochastic %K |
|---|---|---|
| Measures the gap from | Close to the highest high | Close to the lowest low |
| Scale | 0 to -100 | 0 to 100 |
| Close at 108, range 100 to 110 | -20 | 80 |
| Conventional levels | -20 and -80 | 80 and 20 |
| Usual smoothing | None | Often smoothed, with a %D line |
The Stochastic Oscillator usually smooths its raw line and adds a second, slower line. Williams %R shows the raw value only, which is why it looks more jagged and reaches its extremes more often. Placing both on one chart adds nothing: one is the other shifted by 100.
%R also has a hidden dependence on old data. The highest high and lowest low are the same two values that define Donchian Channels. When a candle that set the 14-period high leaves the window, the range shrinks and %R can jump even if the latest close barely moved.
Practitioners who use %R tend to treat it as a quick description of position within the recent range, read after market structure has established whether the market is trending. When combining indicators, it belongs to the same momentum family as RSI and CCI, so it rarely adds an independent view to them.
What it does NOT mean
- A reading above -20 does not mean price is too high. It means the close is near the top of the last 14 periods’ range, which is what every steady advance looks like.
- A reading below -80 does not mean price is due to rise. A falling market closes near the bottom of its range again and again.
- Leaving an extreme zone is not a signal. It is a statement about one close relative to a moving window.
- %R says nothing about how large the range is. A close near the top of a tiny range and of a huge range give the same reading.
- Agreement with Stochastic is not confirmation. They are the same calculation.
Common mistakes
- Misreading the negative scale. -10 is a high reading and -90 is a low one.
- Fading every extreme. In trends the line stays pinned near one end.
- Reacting to every wiggle. With no smoothing, %R crosses its reference levels frequently.
- Forgetting that the range moves. A change in %R can come from the window, not from the latest candle.
Risks and limitations
- %R uses only three numbers: one high, one low and one close, all from the past.
- It is very sensitive to single spikes, because one wick can set the range for the whole window.
- It ignores volume and the size of the range.
- It describes position within a recent range and cannot say where the next close falls.
Key takeaway
Williams %R places the latest close inside the recent high-low range, from 0 at the top to -100 at the bottom, and is an inverted Stochastic %K. A reading near either end describes where price has been closing; it is not an instruction.
Sources and further reading
- Technical Analysis of the Financial Markets, John J. Murphy (1999). Describes Larry Williams %R alongside the Stochastic Oscillator