BLACK FRIDAY 30% OFF
BLACK FRIDAY SALE 30% OFF MASTERCLASSES USE CODE BLACKFRIDAY SALE STARTS IN 02d 13h 35m 44s
Skip to main content

Williams %R Indicator Explained: Formula, −20 and −80 Levels, and Stochastic Comparison

Williams %R is a bounded momentum oscillator that locates the latest close within the highest-high to lowest-low range of a selected number of bars. Its standard scale runs from −100 to zero. A reading near zero means the close is near the top of the range; a reading near −100 means it is near the bottom. Neither extreme establishes a reversal or a valuation conclusion.

The Williams %R formula

For a completed N-bar window including the current bar, let HH be its highest high, LL its lowest low and C the current close. Williams %R = −100×(HH−C)/(HH−LL). A 14-period setting is common. Use the same high, low and close feed throughout, and handle a zero-width window explicitly because division by zero is undefined.

Worked example

Suppose a fictional share has a 14-bar high of 120 and low of 100. Its closing price is 116. The calculation is −100×(120−116)/20=−20. If the close were 104 instead, the result would be −80. At the exact high the oscillator is zero; at the exact low it is −100.

CloseDistance below highWilliams %R
10020−100
10416−80
11010−50
1164−20
12000
-80
-20
-100-80-50-200
Williams %R readings at five hypothetical closing prices. Hypothetical observations in sequence; not live market data.

Williams %R versus Stochastic %K

Raw fast stochastic %K uses 100×(C−LL)/(HH−LL). With identical source prices, lookback and no additional smoothing, Williams %R = fast %K−100. Thus %K of 80 corresponds to %R of −20, and %K of 20 corresponds to −80. A slow stochastic can differ because its %K is smoothed. Using raw %K and %R as two independent confirmations is redundant: they are the same range-position measurement on different scales.

Fast %KWilliams %R
0−100
20−80
50−50
80−20
1000

What the −20 and −80 levels mean

These are conventional reference bands. A close above −20 means the current price lies in the top fifth of the selected range. A reading below −80 places it in the bottom fifth. An instrument can remain near the top throughout a strong advance. A rule that enters against the trend immediately at an extreme differs from one that waits for a completed cross back through the threshold. Test the two separately rather than mixing results.

Why the oscillator can change without a new close

Assume the same close of 110 and low of 100, but a historical high of 120 expires from the window and the new high becomes 112. The reading changes from −50 to approximately −16.67. No increase in the latest closing price was required. This is why a rolling-window oscillator measures relative location, not the speed of the latest price movement.

Practical spreadsheet exercise

Put high, low and close in columns B, C and D. For a 14-bar window covering rows 2–15, calculate MAX(B2:B15), MIN(C2:C15) and the current close D15. Apply the formula and move all three references down one row together. Compare completed observations with your platform, checking whether it plots a forming candle and how it handles equal high and low. A different source feed or session can change the range.

Testing a threshold rule

Record every completed crossing above −80 after a previous reading at or below it. Compare an otherwise identical rule with and without the filter. Include entries after signal availability, realistic spreads and slippage, overlapping signals and adverse gaps. A signal does not determine the size of a position, and a hypothetical stop is not a guarantee of maximum loss. Validate the chosen period and thresholds on a later unseen sample.

Check exact equivalence before combining indicators

Suppose a completed fast %K series moves from 18 to 23 and later from 23 to 78. The corresponding Williams %R readings are −82, −77 and −22. The first transition crosses both the 20 stochastic threshold and the −80 Williams threshold. It is one mathematical event, not two confirmations. If your scanner reports them as different events, check that the periods, OHLC source and smoothing match. A three-period slow %K need not cross on the same bar. Use the simple identity as a unit test when building a spreadsheet or indicator script.

Read technical indicator redundancy for ways to evaluate overlapping signals.

Frequently asked questions

Why is Williams %R negative?

It expresses the negative percentage distance from the recent high relative to the range.

Is −80 a guaranteed buy signal?

No. It indicates range location, and prices may continue falling.

Is Williams %R different from fast Stochastic?

Only the scale differs when raw %K uses identical inputs and periods.

Compare Stochastic Oscillator, RSI and technical analysis foundations.

Further reading

StockCharts ChartSchool: Williams %R.

General educational information only, not personalised financial advice. Trading involves risk of loss.


Stay Ahead of the Markets

Get market analysis, financial news and practical trading insights delivered straight to your inbox.