Williams %R Crypto Bot Strategy: Overbought/Oversold Automation Guide

Larry Williams' momentum oscillator — fast-reacting, range-bound, and ideal for identifying crypto reversal zones.

Williams %R (Williams Percent Range) is a momentum oscillator developed by Larry Williams in the 1970s. Like the RSI, it measures whether an asset is overbought or oversold — but its calculation method and scale are different. Williams %R compares the current close to the highest high over the lookback period, expressed as a percentage. The result is always between -100 and 0, where readings near 0 indicate overbought conditions (price is near the top of its recent range) and readings near -100 indicate oversold conditions (price is near the bottom of its recent range).

Williams %R is known for being faster and more reactive than RSI on the same period — it often signals reversals earlier but with more noise as a trade-off. Understanding when to use Williams %R versus RSI versus Stochastic RSI, and how to filter its signals for automated bot trading, is the core skill covered in this guide. See also our RSI guide and Stochastic RSI guide for comparison.

Williams %R Calculation

Williams %R = ((Highest High over N periods - Close) /
               (Highest High over N periods - Lowest Low over N periods)) × -100

Range: -100 to 0
Overbought: above -20 (i.e., -20 to 0)
Oversold: below -80 (i.e., -100 to -80)

Standard period: N=14. The negative scale is counterintuitive — values near 0 mean price is near its N-period high (overbought), and values near -100 mean price is near its N-period low (oversold).

Williams %R vs. RSI: Key Differences

CharacteristicWilliams %RRSI
Scale-100 to 00 to 100
Signal speedFaster, more reactiveSmoother, slightly slower
False signalsMore (needs stronger filters)Fewer on same period
Overbought zoneAbove -20 (values -20 to 0)Above 70
Oversold zoneBelow -80 (values -100 to -80)Below 30
Divergence detectionStrong, especially on 4H+Strong

Core Bot Trading Strategy: Oversold Recovery Entry

The primary Williams %R strategy for automated trading:

  1. Entry condition: Williams %R crosses above -80 after being below -80 (exits oversold zone from below). This is the "oversold recovery" signal — price was deeply oversold and has begun recovering. This fires faster than the RSI 30 cross equivalent.
  2. Exit / Take-profit: Williams %R reaches -20 (overbought zone), or use a fixed ATR-based target. See our ATR guide.
  3. Stop-loss: Below the most recent swing low, or 1.5× ATR below entry
  4. ADX confirmation filter: Only take signals when ADX is below 25 — this is a mean-reversion strategy that works best in ranging/consolidating markets. In trending markets, oversold readings often go more oversold before recovering, and the signal reliability drops significantly

Williams %R Divergence Strategy

Williams %R divergence can identify high-probability reversals that the raw crossover strategy misses:

  • Bullish divergence: Price makes a lower low, but Williams %R makes a higher low (above -80 on the second trough). This suggests weakening selling pressure and a potential upward reversal.
  • Bearish divergence: Price makes a higher high, but Williams %R makes a lower high (below -20 on the second peak). This suggests weakening buying pressure and a potential downward reversal.

Divergence signals are higher quality but less frequent than crossover signals. DennTech supports divergence detection as a signal condition in the Williams %R strategy settings.

Combining Williams %R with Volume

A volume confirmation layer significantly improves Williams %R signal quality: require the oversold recovery candle to have above-average volume (1.5× the 20-period average). Low-volume oversold recoveries frequently fail — they represent thin-volume bounces rather than genuine demand. High-volume recoveries indicate real buying interest returning at the oversold level, making the reversal more likely to be sustained.

Configuring Williams %R in DennTech

  1. Navigate to Strategy → Williams %R Strategy
  2. Set period to 14 (default) or test 10 for faster signals
  3. Set oversold threshold: -80 (entry on cross above), overbought: -20 (exit)
  4. Enable ADX below-25 filter for mean-reversion mode
  5. Enable volume confirmation at 1.5× multiplier
  6. Set stop at 1.5× ATR below entry
  7. Select exchange (e.g., Kraken or KuCoin) and pair, timeframe 4H or Daily
  8. Run paper trading for 4–6 weeks — see paper trading guide

Full documentation at DennTech docs. View all strategies at the strategies page.

When to Use Williams %R vs. RSI vs. Stochastic RSI

  • Williams %R: Best for fast reversals on shorter timeframes (1H, 4H) where reactivity is valued. Use when you want early entry with tighter stops.
  • RSI: Better for smoother signals on Daily charts. Lower noise, slightly later entry. See our RSI guide.
  • Stochastic RSI: Most sensitive — combines RSI's smoothing with Stochastic's %K/%D crossover confirmation. Best for very active trading with multiple signals per week. See our Stochastic RSI guide.

Frequently Asked Questions

Can I combine Williams %R with MACD for stronger signals?
Yes — using Williams %R oversold recovery as entry timing combined with MACD histogram turning positive (momentum confirming) creates a dual-condition entry that significantly reduces false signals. Enter only when both: Williams %R crosses above -80, AND MACD histogram crosses above zero (or is positive). This combination filters out bounces that lack broader momentum confirmation. See our MACD guide for MACD configuration in DennTech.
Is Williams %R suitable for Bitcoin on daily charts?
Williams %R on BTC daily chart with N=14 and ADX filter is a viable mean-reversion approach during BTC's ranging periods. During Bitcoin's strong trend phases, the daily chart will generate oversold readings that go much deeper (-95 to -100) before recovering — the ADX filter is essential to avoid entries during these trend periods. For BTC trend-following, MACD or EMA crossover strategies are better suited. See our MACD guide and EMA guide.
What position size should I use for Williams %R bot trades?
Apply the same position sizing framework as any other strategy: risk 1–2% of account per trade, with stop-loss at 1.5× ATR below entry. This means your position size is determined by (Account × 0.01–0.02) ÷ (1.5 × ATR). See our full position sizing guide. View the live demo or get started at the pricing page.

View all strategies at the strategies page, explore the live demo, and compare editions at the pricing page.

Disclaimer: DennTech Trading Solutions is a software company, not a financial advisor. Nothing on this site constitutes financial advice, investment advice, or a recommendation to buy or sell any asset. Cryptocurrency trading involves substantial risk of loss and is not suitable for all investors. Always do your own research and consult a qualified financial professional before making any investment decisions. View full Liability Waiver →