Williams %R Trading Strategy: How to Build It in Arrow Algo

Williams %R Trading Strategy: How to Build It in Arrow Algo

A Williams %R strategy trades momentum extremes using one of the fastest oscillators in technical analysis. Larry Williams built the indicator to answer a single question: where did price close relative to its recent high-low range? Close near the top of the range and %R reads near 0. Close near the bottom and it reads near -100. That speed makes it a favourite for timing entries — and a trap for anyone who trades it without a filter.

What Is a Williams %R Strategy?

A Williams %R strategy uses the indicator’s two extreme zones as its raw material. Readings above -20 mark overbought conditions: price is closing near the top of its recent range. Readings below -80 mark oversold: price is closing near the lows. The classic play is mean reversion — buy oversold recoveries, sell overbought failures. The sharper play adds a trend filter so you only fade extremes against the minor move, never against the major one.

Williams %R(14) crossed back above -80 9 times in 90 daysBitcoin daily, 27 Aug – 24 Nov 2026. Amber dots mark %R crossing back above -80.$60k$70k$80k0-20-50-80-100Williams %R(14)Oversold below -80 · overbought above -2027 Aug18 Sept11 Oct2 Nov24 NovData: BTC-USD daily candles from Coinbase. Signals marked, not trades: this is not a backtest.
Each amber dot is %R climbing back out of oversold. Hover one for the date, %R reading and price.

If the logic sounds familiar, it should. %R is the Stochastic Oscillator flipped upside down, without the smoothing — which is exactly why it reacts faster and whipsaws more.

How Does the Calculation Work?

Over a lookback window — 14 periods is standard, per Investopedia — the indicator compares the current close to the highest high and lowest low. It expresses the result as a negative percentage from 0 to -100. In plain English: %R of -10 says “price closed in the top 10% of its recent range”. A reading of -90 says it closed in the bottom 10%. Nothing more. The power is in what closing position reveals about momentum: strong markets close near their highs, weak ones near their lows.

Close at $75,259 in a $73,477 – $81,890 range gives %R of -78.8Worked example: Bitcoin daily close on 9 Nov 2026 with a 14-day lookback.Highest high$81,890 over thelast 14 days1Lowest low$73,477 over thelast 14 days2Close vs range$81,890 - $75,259= $6,631 belowthe top of a$8,413 range3%R = -78.8-100 x $6,631 /$8,413: closed inthe bottom 21% ofthe range4Data: BTC-USD daily candles from Coinbase.
Four numbers, one result: where the close sits inside the 14-day range.

Reading the Zones

  • Above -20: overbought — closes are pinned to the top of the range.
  • Below -80: oversold — closes are pinned to the lows.
  • The -50 midline: the momentum divide. Crossing it confirms a shift in control.
  • Time spent pinned: in strong trends %R can sit above -20 for weeks. That is trend strength, not a sell signal.

Two Williams %R Strategies Worth Testing

The Oversold Recovery

  • Filter: price above its 200-period EMA — you only buy dips inside uptrends.
  • Setup: %R drops below -80.
  • Entry: %R crosses back above -80 — the recovery has started, the knife has landed.
  • Exit: %R reaching -20, or a fixed target; stop below the setup low.

The Midline Momentum Confirm

  • Setup: the oversold recovery entry above.
  • Confirmation: hold until %R also crosses -50, entering only then.
  • Trade-off: later entries and smaller wins, but far fewer failed bounces — the same touch-versus-turn discipline as the RSI overbought/oversold strategy.
The 200 EMA filter keeps 7 of 17 oversold-recovery signalsBitcoin daily, 27 May – 24 Nov 2026. Green: %R crosses back above -80 with the close abovethe 200 EMA. Grey: filtered out.$60k$70k$80k27 May11 Jul25 Aug9 Oct24 NovBTC closeEMA(200)Data: BTC-USD daily candles from Coinbase. Signals counted, not traded: this is not a backtest.
Most recoveries below the 200 EMA are filtered out. Hover a dot to see why.

Building It in Arrow Algo

  1. Add a Williams %R block and connect your candle feed — the period is an editable property.
  2. Add an EMA block (200) with a condition block as the trend filter.
  3. Use a crossover block to detect %R crossing above the -80 level; add a second for the -50 confirmation variant.
  4. Route %R reaching -20 (or your fixed target) to the exit, with a stop below the recent low.
  5. Backtest both variants side by side on Binance, Coinbase, or HyperLiquid data. Measure whether the -50 confirmation earns its later entries in your market.
The oversold recovery as four blocksYour rules, wired in order. When they all agree, the signal goes to your own exchange orbroker account.Candle feedYour pair andtimeframe1EMA + ConditionEMA(200): closeabove it, orstand aside2%R + CrossoverPeriod 14. Fireswhen %R crossesabove -803Exit rule%R reaches -20 ora fixed target;stop below thelow4
The same rule you read above, wired as blocks in Arrow Algo.

Where Does Williams %R Go Wrong?

  • Fading strong trends. Overbought is not a sell signal in an uptrend — it is what uptrends look like. The trend filter is mandatory.
  • Trading the touch, not the turn. Entering the moment %R hits -80 catches falling knives. The cross back out is the signal.
  • Expecting smoothness. %R has no built-in smoothing, so it is noisier than Stochastic or RSI. Confirmation rules matter more here than with slower oscillators.
  • Shortening the period. %R(5) marks extremes constantly; almost none of them mean anything.

The Essentials

  • A Williams %R strategy trades range-position extremes: above -20 overbought, below -80 oversold.
  • It is a faster, unsmoothed cousin of the Stochastic — quicker signals, more noise.
  • Only fade extremes with the larger trend behind you, and enter on the cross back out of the zone.
  • The -50 midline is a useful second confirmation for cutting failed bounces.
  • Arrow Algo’s Williams %R block makes both variants drag-and-drop — the complete Williams %R guide covers the indicator’s full background.

Disclaimer: This content is for educational purposes only and does not constitute financial advice. Trading involves significant risk and you should only trade with capital you can afford to lose. Past performance is not indicative of future results. Always conduct your own research before making any trading decisions.

Ready to build your own automated trading strategies without writing a single line of code? Start for free at Arrow Algo and join thousands of traders who’ve made the switch to systematic trading.

See Arrow Algo first on Google. Add us as a preferred source and our articles show up more in your Top Stories.

Add as a preferred source on Google