Williams %R Indicator: Swing Trade Entries & Exits
Williams %R shows where the close sits in its recent range on a -100 to 0 scale. Learn the levels, settings, and a trend-aligned swing strategy with a worked example.
The Williams %R (percent R) is a momentum oscillator that measures where the latest close sits within the highest-high to lowest-low range of the last N periods, on a scale from -100 to 0. Readings above -20 are considered overbought and readings below -80 oversold, and swing traders use moves back out of those zones, in the direction of the trend, to time entries and exits.
This guide covers the formula, how to read the levels, which settings to use, a trend-aligned swing strategy with a worked example, and the comparison with RSI and the stochastic. It is educational only, not financial advice. Oscillators lag and fail, past performance does not guarantee future results, and all numbers are hypothetical.
Key takeaways
- Williams %R equals -100 times (highest high minus close) divided by (highest high minus lowest low); a reading of -10 means the close is near the top of the range, and -90 near the bottom.
- The standard levels are -20 (overbought) and -80 (oversold), but those are zones, not signals, because strong trends can sit there for weeks.
- A practical swing signal is %R rising back above -80 after an oversold dip while price is above a rising 50-day average.
- The 14-period setting is the default; shorter settings produce more signals and more false ones.
- It is the fast stochastic with the scale flipped, so using both gives the same information twice.
What is the Williams %R indicator?
It is a range-position oscillator created by Larry Williams. It compares the close with the recent high-low range, so it answers how close to the top or bottom of its range the stock is closing. It was designed to catch short-term turning points in momentum.
The unusual feature is the scale. Instead of 0 to 100, it runs from -100 (close at the bottom of the range) to 0 (close at the top). This inverted scale is why the overbought level is -20, not 80.
How is Williams %R calculated?
The formula is:
%R = -100 x (Highest high of N - Close) / (Highest high of N - Lowest low of N)
Worked calculation (hypothetical)
Over 14 days a stock's highest high is $52.00 and lowest low is $44.00, a range of $8.00.
- If it closes at $45.60: %R = -100 x ($52.00 - $45.60) / $8.00 = -100 x 0.80 = -80.
- If it closes at $51.20: %R = -100 x ($52.00 - $51.20) / $8.00 = -10.
Because the highest high and lowest low roll forward, the reading can change even if price does not, when an old extreme drops out of the window.
What do the -20 and -80 levels mean?
Above -20 means the close is in the top 20% of the recent range, and below -80 means it is in the bottom 20%. They describe where price sits, not what it will do next.
| Reading | Meaning | Typical interpretation |
|---|---|---|
| 0 to -20 | Close in the top fifth of the range | Overbought, or strong momentum in an uptrend |
| -20 to -80 | Middle of the range | Neutral |
| -80 to -100 | Close in the bottom fifth | Oversold, or weak momentum in a downtrend |
The common error is to sell the instant %R reaches -20. In a strong uptrend, %R can stay between 0 and -20 for many sessions while price keeps climbing. The signal that is more useful is the reversal out of the zone: %R falling back below -20 after being above it, or rising back above -80 after being below it.
What are the best Williams %R settings for swing trading?
The default of 14 periods works well for daily swing charts. Lowering it makes the indicator faster and noisier, and raising it makes it smoother and later.
| Setting | Behavior | Best for |
|---|---|---|
| 5 to 7 | Very fast, frequent signals | Very short-term mean reversion |
| 10 | Fast | Active swing trading |
| 14 | Balanced default | Daily swing charts |
| 21 to 28 | Slow, fewer signals | Stronger trends and position trading |
There is no best setting for every stock. A reasonable approach is to keep 14 and test it visually on your usual watchlist, checking how the indicator behaved at the last several pullbacks.
How do you trade Williams %R in a swing strategy?
Use it as a pullback timing tool inside an uptrend. The trend decides direction, and %R decides timing. A rule set:
- Trend filter: price is above a rising 50-day moving average, and ideally near a prior high.
- Pullback: the stock dips for several sessions and %R falls below -80.
- Trigger: %R rises back above -80 (some traders wait for -50) and the stock closes higher.
- Entry: buy a few cents above the trigger day's high.
- Stop: below the pullback low.
- Exit: when %R moves above -20 and then drops back below it, at a prior resistance, or on a trailing stop.
This fits well with the 50-day moving average pullback strategy, which supplies the trend and the support level.
Worked trade example (hypothetical)
A stock is above its rising 50-day average and trades near $60. It pulls back to $54.50 over five sessions, and %R drops to -92. Two days later %R is -71 after a green day that closes at $56.00 with a high of $56.30.
- Entry: buy-stop at $56.35.
- Stop: $54.20, below the pullback low of $54.50. Risk per share: $2.15.
- Target: the prior high of $60.50, a reward of $4.15, or about 1.9R. A second option is to exit when %R crosses back below -20.
- Size: on a $50,000 account risking 1% ($500), $500 / $2.15 is about 232 shares, a position of about $13,100.
If the stock falls through $54.20, you lose about $500 and the signal has failed. If it hits $60.50, you gain about $963. With reward near 2R, the approach needs a hit rate not far above one in three to break even before costs, but no individual signal is reliable, and strong downtrends can keep %R pinned near -100.
How do you handle exits with Williams %R?
Exit when the oscillator shows momentum fading at an extreme, while also respecting your stop. A common signal is %R rising above -20 and then falling back below it, which says price has begun closing lower within its range. Some traders combine this with a trailing stop such as an ATR trailing stop so that an exit is not left to a single indicator.
Because StockSetups is long-only, an overbought reading is best used for tightening stops or trimming, not for short-selling.
How does Williams %R compare with RSI and the stochastic?
The three are close cousins but measure different things.
| Indicator | Based on | Scale | Typical zones |
|---|---|---|---|
| Williams %R | Close within the high-low range | -100 to 0 | -20 / -80 |
| Stochastic (fast) | Close within the high-low range | 0 to 100 | 80 / 20 |
| RSI | Average gains vs. average losses | 0 to 100 | 70 / 30 |
Williams %R equals the fast stochastic %K minus 100, so the two always agree. RSI looks at the size of price changes, not the position within the range, and moves more smoothly. See the stochastic oscillator for the smoothed version, and the 2-period RSI strategy for a mean-reversion variation. Stacking several oscillators adds little; combine one oscillator with trend and volume.
When does Williams %R fail?
It struggles in strong trends and in news-driven moves. In an uptrend it can stay overbought for weeks, producing early exit signals, and in a downtrend it can stay oversold, producing premature buy signals. It also whipsaws in sideways markets, and it is a lagging indicator based on past closes. Using it only with the trend, and combining it with support levels or bullish divergence, reduces but does not remove these problems.
For the better-known cousin, see the RSI indicator.
Common mistakes with Williams %R
- Selling at -20 automatically. Strong stocks stay overbought.
- Buying below -80 in a downtrend. Oversold can get more oversold.
- Ignoring the trend. Take oversold buys only in uptrends.
- Not remembering the inverted scale. -20 is the high end.
- Over-optimizing the period. Changing settings after each loss fits the past, not the future.
- No stop. The indicator does not define risk.
The bottom line
Williams %R is a simple read on where the close sits in its recent range. Use the 14-period default, treat -20 and -80 as zones, trade the reversal out of oversold only in uptrends, and always set a stop and size the position so a failed signal costs a small, planned amount.
StockSetups scans roughly 12,300 US stocks and ETFs after the close for chart patterns confirmed by candlestick signals, and paid plans add indicators such as RSI, MACD, ADX and ATR next to trade plans with entry, stop and reward:risk. Indicators and patterns fail, so manage risk and do your own research.
Frequently asked questions
What does Williams %R measure?
It measures where the latest close sits within the highest-high to lowest-low range over a set period, on a scale from -100 to 0. Readings near 0 mean closes near the top of the range, and readings near -100 mean closes near the bottom.
What are the overbought and oversold levels for Williams %R?
Above -20 is considered overbought and below -80 oversold. They are zones that show range position, not automatic sell or buy signals, since strong trends can stay in them for a long time.
What is the best Williams %R period for swing trading?
The default of 14 on a daily chart is a reasonable starting point. Shorter periods such as 10 are faster but noisier, and longer periods such as 21 are smoother but slower.
Is Williams %R the same as the stochastic oscillator?
Nearly. Williams %R equals the fast stochastic %K minus 100, so it gives the same information on an inverted scale. The slow stochastic adds smoothing.
Is Williams %R better than RSI?
Neither is better in general. Williams %R reacts faster because it tracks range position, while RSI is smoother because it tracks the size of gains and losses. Many traders pick one and add trend and volume instead of stacking oscillators.
Produced with AI assistance and published under the StockSetups editorial guidelines.
Get daily signals & real-time alerts.
StockSetups scans ~12,300 US stocks & ETFs after every close and sorts every long setup into four ranked lanes — each with a trade plan — plus an always-on engine firing 35+ real-time intraday alerts. Free for 7 days, no credit card.
Start free — 7-day trial, no card →Free daily signals by email. Top 3 setups per lane after every close. No account needed.
Unsubscribe anytime · Privacy