Williams %R in Forex: The Formula, the -20 and -80 Levels and Where It Fails
Short answer: Williams %R shows where the latest close sits inside the range between the highest high and the lowest low of the last 14 candles (the usual default). The scale runs from 0 (close at the high) to -100 (close at the low). Readings above -20 are usually called overbought and readings below -80 oversold. In a sideways market those can mark stretched moves. In a trend the line can sit there for a long time, so read it with context and use a stop loss.

Williams %R with its usual -20 and -80 levels. Illustration, November 2026.
How Williams %R is calculated
The indicator was created by trader Larry Williams. The formula uses only the high, low and close.
| Step | Calculation |
|---|---|
| 1 | Find the highest high (HH) of the last n candles |
| 2 | Find the lowest low (LL) of the last n candles |
| 3 | %R = (HH - Close) / (HH - LL) x -100 |
If the close equals the highest high, the top of the fraction is zero and %R is 0. If the close equals the lowest low, the fraction is 1 and %R is -100. A close halfway between them gives -50. Platforms draw the line for you, but the formula shows what the number means: it is a position inside a range, not a speed and not a forecast.
A worked calculation
These are made-up prices on EUR/USD. Over the last 14 candles the highest high is 1.0960 and the lowest low is 1.0850, so the range is 110 pips.
| Latest close | HH - Close | Calculation | %R |
|---|---|---|---|
| 1.0940 | 0.0020 | 0.0020 / 0.0110 x -100 | about -18.2 |
| 1.0905 | 0.0055 | 0.0055 / 0.0110 x -100 | -50.0 |
| 1.0880 | 0.0080 | 0.0080 / 0.0110 x -100 | about -72.7 |
| 1.0870 | 0.0090 | 0.0090 / 0.0110 x -100 | about -81.8 |
A close at 1.0940 is 20 pips under the high, which puts it in the top fifth of the range, so the line is above -20. A close at 1.0870 is 20 pips over the low, so the line is below -80. The reading changes when the range changes too: if a new high of 1.0990 drops out of the window, the same close gives a different number.
Williams %R and the stochastic oscillator
Williams %R is the fast stochastic %K shifted down by 100. For the first row above, the stochastic %K is (1.0940 - 1.0850) / 0.0110 x 100, about 81.8, and 81.8 - 100 is -18.2. Anything you learn about one carries over to the other. The stochastic oscillator usually adds a smoothed signal line, while %R is the raw line only, so it reacts faster and gives more false turns.
How traders read the levels
Two readings are common, and they point in opposite directions depending on the market.
- Range reading. In a sideways market, a line above -20 can mark price at the top of the range. Some traders wait for it to fall back below -20 before looking at a sell. A line below -80 that rises back above -80 is read the other way. This fits mean reversion.
- Trend reading. In a strong uptrend the line can sit between 0 and -20 for many candles. Some traders read that as strength and treat a dip toward -50 as a pullback to watch, not a reversal.
The indicator cannot tell you which market you are in. Identify that first, for example with a range market check or the trend lines on the price chart.
A worked trade idea
These are made-up prices to show the arithmetic. It is not a real trade.
- EUR/USD has moved between 1.0850 and 1.0960 for several days on the 4-hour chart.
- Price falls to 1.0870 and %R reads about -81.8. Two candles later price closes at 1.0880 and %R is about -72.7, back above -80.
- Entry idea: buy near 1.0880.
- Stop loss: 1.0840, which is 10 pips below the range low of 1.0850. That is 40 pips from entry.
- Target idea: 1.0960, near the range high, 80 pips away. The reward-to-risk ratio is 2 to 1.
With a 1% risk rule on a $1,000 account ($10), a 40-pip stop allows 0.025 lot. On 0.02 lot a pip is worth about $0.20, so the risk is about $8. The lot size calculator shows the formula, and what is a stop loss explains the exit.
If price instead broke below 1.0850, the range reading would be wrong and the stop would take the loss. That is the main risk of the method.
Where Williams %R fails
- Strong trends. The line can stay above -20 or below -80 for dozens of candles, and each early counter-trend trade can lose.
- Short periods. A 5-period line crosses the levels many times a day. Most of those crossings are noise.
- Window effects. The reading depends on which candles are inside the window. A spike dropping out of it can move the line without any new price action.
- Lag. It is built from past candles, so by the time it turns, part of the move is done.
- News. One large candle can push the line to 0 or -100 and back within a few candles, which says nothing about direction.
- Compared with RSI. The RSI indicator measures the size of recent gains against losses, while %R measures the close inside a range, so the two can disagree on the same chart.
How to use it in a plan
- Decide whether you trade ranges or trends, and write down which reading you will use.
- Fix the period before you start and keep it while you test.
- Add a price-based condition, such as a level or a candle, so the indicator is not your only reason.
- Place the stop beyond the level that cancels the idea and size the trade from it with position sizing.
- Test on a demo account and record every result.
Bottom line
Williams %R places the close inside the recent high-low range on a scale from 0 to -100. The -20 and -80 levels are conventions, not signals, and the same reading can mean exhaustion in a range or strength in a trend. Decide which market you are in before you use it, fix the settings, and set the stop before you enter. Only risk money you can afford to lose. CFDs are complex, high-risk instruments.
Frequently asked questions
What is Williams %R?
Williams %R is a momentum oscillator created by Larry Williams. It shows where the latest close sits between the highest high and the lowest low of the last n candles, on a scale from 0 to -100.
What do -20 and -80 mean on Williams %R?
They are the levels most platforms draw by default. A reading above -20 means the close is in the top fifth of the recent range, and below -80 means the bottom fifth. They are not automatic buy or sell signals.
What is the default period for Williams %R?
Most platforms default to 14 candles. A shorter period gives a faster, noisier line, and a longer one gives a smoother line with fewer signals. Check the setting on your own platform.
Why is Williams %R shown as negative numbers?
The formula multiplies by -100, so the scale runs from 0 (close at the high) down to -100 (close at the low). The values are the same as the stochastic %K minus 100.
Is Williams %R the same as the stochastic oscillator?
Nearly. Williams %R equals the fast stochastic %K minus 100, so the two lines have the same shape on a different scale. The difference is mainly the levels and the way the chart is labelled.
Can I trade on Williams %R alone?
It is safer to add context such as a range or a trend, a support or resistance level, and a stop loss. In a strong trend the line can stay near 0 or -100 for a long time, and trading against it can produce repeated losses.