Williams A/D Divergence Strategy: Tested on Crypto

Williams A/D divergence starts with a disagreement. Price closes at a fresh low, but the Williams Accumulation/Distribution line holds above its own low. We turned that disagreement into a fixed rule and tested it on three years of crypto candles. Alone, it lost money on all three markets. Inside an uptrend, it turned positive on all three.
The rules below are hypotheses to test, not a recommendation.
What Does the Williams A/D Line Track?
Larry Williams built the Accumulation/Distribution line (WAD) as a running score of buying and selling pressure. Each candle adds or subtracts an amount based on its close.
On an up close, WAD adds the distance from the close down to the lower of this candle’s low and the previous close. On a down close, it subtracts the distance from the higher of this candle’s high and the previous close down to the close. A flat close adds nothing.
The previous close acts as a reference point. That lets the line account for gaps between candles.
A Price-Only Line
One detail surprises many traders. The standard WAD formula uses no volume at all. It reads only highs, lows and closes. That sets it apart from the Accumulation/Distribution line and On-Balance Volume, which both weight by volume.
That makes this test a useful comparison. It asks whether a divergence rule works without any volume input. Our Williams Accumulation/Distribution guide covers the indicator background.
Turning Williams A/D Divergence Into a Fixed Rule
A divergence happens when price and an indicator point different ways. Spotting one by eye invites hindsight. A backtest needs a rule that reads only completed candles.
We used a fixed lookback, which is the number of past candles the rule compares against.
Entry
Use four-hour candles. Generate a long entry signal when both conditions hold on a completed candle:
- The close is the lowest close of the last 20 candles.
- WAD sits above its lowest value of the last 20 candles.
In plain terms, price fell further, but the pressure line did not.
Exit
Exit on the first of three events:
- The close moves back above the 20-period exponential moving average (EMA).
- The close falls more than two times the 14-period Average True Range (ATR) below entry. ATR measures typical candle movement.
- Thirty candles pass, which is five days.
The Control
The control removes the WAD condition and keeps everything else. It buys every new 20-candle low. If WAD adds anything, it should beat this version.
What Did Three Years of Crypto Data Show?
We tested on Binance four-hour candles from 17 November 2023 to 17 November 2026. We charged 0.1% per side and filled at the signal candle’s close. Indicators had six months of earlier data to warm up.
| Market, 4-hour | Buy and hold | Control: entries per year | Control: return | Control: max drawdown | WAD rule: entries per year | WAD rule: return | WAD rule: max drawdown |
|---|---|---|---|---|---|---|---|
| BTC | +78.3% | 72 | -31.7% | 47.6% | 35 | -17.6% | 36.4% |
| ETH | -7.6% | 70 | -63.3% | 72.2% | 34 | -9.9% | 41.6% |
| SOL | +23.5% | 78 | -13.1% | 61.8% | 35 | -39.4% | 55.3% |
Hypothetical rule tests on past data, with no slippage. They are not trading results, and past behaviour may not repeat.
Buying every new low lost money everywhere. Max drawdown is the largest peak-to-trough fall in account value. The control’s ETH drawdown hit 72%.
The WAD condition cut entries roughly in half. It improved BTC and transformed ETH, from -63.3% to -9.9%. On SOL, it made the return worse. Every WAD version still lost money.
Adding a Trend Filter
Buying dips usually works better inside an uptrend. We added one condition to both versions: the close must sit above the 200-period EMA.
| Market, 4-hour | Control: entries per year | Control: return | Control: max drawdown | WAD rule: entries per year | WAD rule: return | WAD rule: max drawdown | WAD rule: win rate |
|---|---|---|---|---|---|---|---|
| BTC | 27 | -15.3% | 31.0% | 14 | +19.0% | 10.0% | 74% |
| ETH | 24 | -10.6% | 30.4% | 12 | +6.2% | 21.3% | 73% |
| SOL | 26 | +65.0% | 28.6% | 10 | +30.0% | 14.3% | 77% |
Same assumptions as above.
The filter turned the WAD rule positive on all three markets. It beat its control on BTC and ETH. The BTC drawdown fell to 10%.
SOL broke the pattern again. The filtered control returned +65.0%, more than double the WAD version. On SOL, the WAD condition skipped good entries along with bad ones.
Do Other Settings Change the Picture?
We changed one thing at a time.
| Variation | BTC return | ETH return | SOL return |
|---|---|---|---|
| 10-candle lookback, no filter | -12.0% | -24.2% | -15.8% |
| 40-candle lookback, no filter | -7.6% | +0.9% | -51.3% |
| 200 EMA filter, 20 lookback (base) | +19.0% | +6.2% | +30.0% |
| 200 EMA filter, 40 lookback | +9.7% | +5.1% | -5.8% |
| 200 EMA filter, three-ATR stop | +32.3% | +21.6% | +17.1% |
| 200 EMA filter, 60-candle time limit | +19.0% | +6.2% | +30.0% |
Same assumptions as above.
What Stood Out
The lookback length did not give a consistent answer. A 40-candle window helped BTC and ETH but hurt SOL badly. The filtered 40-candle rule traded only five to eight times a year.
A wider three-ATR stop lifted BTC and ETH. It also lowered SOL. Treat that as one data point, not a setting to adopt.
The longer time limit changed nothing. No trade lasted 30 candles. The 20 EMA exit always fired first.
How Does It Compare With VPT?
Our VPT divergence strategy used the same rules with a volume-weighted line. Its filtered version returned +3.3%, +10.1% and +18.4%. The price-only WAD line did about as well. For divergence on these markets, volume did not add a clear edge.
Where Do Williams A/D Divergence Tests Go Wrong?
Skipping the trend filter. Without it, every WAD version lost money on at least two markets.
Trusting small samples. The filtered rule made only 31 to 42 trades per market. A few trades can swing totals that small.
Reading the high win rate. Wins came 73% to 77% of the time. Returns stayed modest, so losers were larger than winners. Our post on return skew explains that shape.
Tuning until SOL wins. Each setting you try raises the odds of a lucky result. Log every variation, and read our deflated Sharpe ratio post before trusting the best one.
Assuming WAD measures volume. It does not. If you want a volume-based divergence, test the A/D line or OBV beside it.
Building the Williams A/D Divergence Strategy in Arrow Algo
The drag-and-drop visual builder expresses the rule as a chain of visual blocks:
- Add the exchange’s candle data and select the four-hour timeframe.
- Connect the high, low and close to a Williams Accumulation/Distribution block.
- Connect the close to a Min block set to 20. Add a condition block that checks the close is at or below that minimum.
- Connect the WAD output to a second Min block set to 20. Add a condition block that checks WAD is above it.
- Connect the close and a 200-period EMA block to a comparison block for the trend filter.
- Join the three conditions and a flat-position check with AND condition blocks.
- Connect the result to a buy action block. Under your rules, that block sends a signal.
- Build the exits: close above a 20-period EMA, a two-ATR stop, or a time limit. A Position Status block feeding a Since block can count candles in the trade.
- Join the exits with an OR condition block into a sell action block.
Duplicate the strategy and delete the WAD condition to create the control. Run both on the same data and fees.
No deployment is needed for any of this. If you later choose to deploy, your rules signal your own exchange account. The exchange decides whether to execute each order.
What Should You Carry Into Your Own Test?
- Williams A/D divergence buys new price lows that the WAD line does not confirm.
- WAD uses only price, so it tests divergence without volume.
- Unfiltered, the rule lost money on all three markets. It lost less than the control on BTC and ETH.
- With a 200 EMA filter, it turned positive on all three and cut BTC drawdown to 10%.
- On SOL, the filtered control beat it. Always run the control beside the rule.
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.