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.

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.

Reading the Zones

Two Williams %R Strategies Worth Testing

The Oversold Recovery

The Midline Momentum Confirm

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.

Where Does Williams %R Go Wrong?

The Essentials

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.