All posts
PublishedUpdatedByEvidence recordWilliams %Rindicatorwin ratebacktestUSD/JPY

Williams %R Mean Reversion: 240 Settings Tested

240 Williams %R settings backtested on USD/JPY across 2025 and 2024: win rates above 60% with negative results, and the win-to-loss size gap behind it.

A Williams %R fade won often and still lost money. Across the 120 long-side settings on hourly USD/JPY bars in 2025 the median win rate was 59.0%, and only 10 of the 120 finished positive. The textbook setup, period 14 buying below −80 and closing above −20, won 68.42% of its trades in 2024 and lost 569.3 pips.

Backtest this setup

Williams %R places the current close inside the high-low range of the last N bars, on a scale from 0 to −100. Below −80 is called oversold, above −20 overbought. The test covers six periods × five entry levels × four exit levels × two directions, 240 settings, on three timeframes over 2024 and 2025.

−1500−1000−5000+50050%55%60%65%70%win rate →net pips for the year
the textbook 14, −80 / −20highest win rate, 67.0%one dot per setting, 120 of them — 10 finished positive
Win rates run from 49% to 67% and almost the whole cloud sits below the zero line. Winning more often did not mean making money.

Each dot is one setting: win rate across, net pips up. The win rates spread from 49% to 67% and almost the entire cloud sits under the zero line.

Why a 68% win rate still loses

Because the average loss is larger than the average win. These are USD/JPY trades that buy when %R falls below the entry level and close when it rises above the exit level, at a 0.3-pip spread.

average pips per trade0100200H1, 2025 · 14, −80/−2058.1% · −1,083 pipsH1, 2024 · 14, −80/−2068.4% · −569 pipsH1, 2025 · highest win rate67% · −954 pipsH4, 2024 · 14, −80/−2079.4% · +424 pips
average winaverage losssecond line: win rate · net pips
On H4 in 2024, a 79% win rate made only 424 pips, because the losing fifth of trades averaged three times the size of the winners.
TimeframeYearSettingWin rateAverage winAverage lossAnnual net
1-hour2025Period 14, −80/−2058.11%+39.8 pips−72.7 pips−1,082.8 pips
1-hour2024Period 14, −80/−2068.42%+44.9 pips−110.8 pips−569.3 pips
1-hour2025Setting with 67.05% win rate67.05%+28.3 pips−74.1 pips−953.7 pips
4-hour2024Period 14, −80/−2079.41%+84.9 pips−267.0 pips+423.5 pips

The four-hour 79.41% win rate produced only 423.5 pips, because the losing fifth of trades averaged 3.1 times the size of the winners.

The exit rule creates this payoff distribution. A long trade enters below −80 and closes only after %R reaches −20, so a bounce closes the gain while a continued decline leaves the loss open. The result is frequent small wins and occasional large losses.

The high win rate follows from those frequent small bounces; it does not establish positive annual net.

None of the 120 hourly settings in 2025 reached a 70% win rate. The maximum was 67.05%, and that setting still lost 953.7 pips.

Adding Williams %R to a chart

PlatformHow to add it
MT4 / MT5Built in — Navigator, Oscillators, Williams' Percent Range
TradingViewIn the indicator list as "Williams %R"
Browser (Formiq)In the indicator list, with an adjustable period

How this was measured

The rule here is directional: "below −80" can only be a buy condition and "above −20" can only be a sell. The long fade and short fade were therefore tested as separate trading rules.

ItemValue
PairUSD/JPY
Period2025-01-01 to 2025-12-31 (2024 run identically for comparison)
Timeframes15-minute / 1-hour / 4-hour
Bars tested6,226 hourly bars in 2025; 24,903 on 15-minute, 1,610 on 4-hour
Long sideBuy when %R falls below the entry level (−95 to −70), close when it rises above the exit level (−50 to −10)
Short sideThe mirror of that on the 0 side (sell at −5 to −30, close at −50 to −90)
Stops and targetsNone (measured separately)
Costs0.3 pip spread, zero slippage, 0.1 lot
Combinations6 periods (7–40) × 5 entry levels × 4 exit levels × 2 directions = 240, per timeframe and per year
MethodExecuted in Formiq's backtester; pips recomputed from each trade's fill prices

Do the long and short sides differ?

TimeframeSideYearProfitable settingsMedian annual netMedian win rate
15-minuteLong20253 / 120−661 pips64.3%
15-minuteLong202454 / 120−226 pips—
15-minuteShort20257 / 120−777 pips63.3%
15-minuteShort20242 / 120−1,169 pips—
1-hourLong202510 / 120−720 pips59.0%
1-hourLong202447 / 120−201 pips—
1-hourShort202510 / 120−633 pips59.3%
1-hourShort20240 / 120−1,442 pips—
4-hourLong202589 / 120+572 pips64.1%
4-hourLong202471 / 120+123 pips—
4-hourShort202578 / 120+333 pips57.6%
4-hourShort20240 / 120−1,396 pips—

The short side was wiped out in 2024: zero of 120 on both hourly and four-hour bars. USD/JPY rose 1,632 pips that year. Selling "overbought" through a rising market produces exactly this. A counter-trend indicator cannot be judged apart from the direction the market took.

Only the four-hour long side worked: 89 of 120 in 2025, 71 in 2024, and 40 profitable in both. It is the one usable cell in the whole test.

On the four-hour long side, 40 of 120 settings were profitable in both years. Many were profitable in only one year, so one year's result did not identify the next year's period and levels.

Which timeframe actually worked?

PeriodYearMean annual netMean win rate
72025−83 pips57.1%
72024+549 pips73.3%
92025−52 pips56.7%
92024+520 pips77.3%
142025+203 pips58.9%
142024+197 pips74.1%
212025+711 pips66.8%
212024−138 pips66.4%
282025+1,143 pips70.7%
282024−215 pips65.1%
402025+935 pips76.5%
402024−148 pips63.4%

Long periods produced the larger results in 2025, while short periods produced the larger results in 2024. Only period 14 was positive in both years (+203 and +197).

Deeper entry levels helped in 2025 (−70 gave +135 pips, −95 gave +757) and made almost no difference in 2024 (+143 and +71). Exit levels showed no consistent pattern either year.

Does a stop fix it?

If the losses are the problem, cutting them is the obvious fix, so stops and targets were measured too.

Exit ruleYearTradesWin rateAnnual net
No stop202514858.11%−1,082.8 pips
No stop202413368.42%−569.3 pips
Stop 30 / target 60202537633.51%−1,501.2 pips
Stop 30 / target 60202429737.04%−667.1 pips
Stop 50 / target 100202528143.77%−1,788.9 pips
Stop 50 / target 100202424245.45%−900.4 pips
Stop 20 / target 40202547629.62%−1,331.7 pips
Stop 20 / target 40202437032.43%−709.5 pips
Stop 50 / target 50202530449.67%−1,234.4 pips
Stop 50 / target 50202426050.77%−889.9 pips
Time exit after 24 bars202518458.15%−989.6 pips
Time exit after 24 bars202415265.13%−729.6 pips

Every one lost. The four stop-and-target pairs also lost more than doing nothing, in both years. The 24-bar time exit is the single exception, and only in one direction: −989.6 pips in 2025 against −1,082.8 without it, then −729.6 against −569.3 in 2024.

The average loss does shrink, from −110.8 pips to −30.0. But the win rate collapses with it, 68.42% down to 37.04%, and the trade-off goes the wrong way. A stop converted one large loss into a run of small ones.

The size of the losses comes from waiting for an exit condition that may not arrive. Changing the stop distance does not change that design.

Is the spread to blame?

SpreadH1 long, 14, −80/−20 (148 trades)
0.0 pips−1,038.4
0.3 pips−1,082.8
1.0 pips−1,186.4
2.0 pips−1,334.4

At a zero spread it still loses 1,038.4 pips. This is not a cost problem. At 148 trades a year the spread changes the total by only 296 pips between 0 and 2.0 pips of spread. The 2024 default averaged +44.9 pips per win and −110.8 per loss, so removing trading cost does not repair the payoff imbalance.

Can the four-hour long side be narrowed?

Narrowing the one cell that worked:

ConditionYearTradesWin rateAnnual net
Period 14, −80/−2020253661.11%+168.1 pips
Period 14, −80/−2020243479.41%+423.5 pips
Period 28, −80/−2020252470.83%+912.1 pips
Period 28, −80/−2020241560.00%−785.0 pips
London/NY hours only20253666.67%+609.5 pips
London/NY hours only20242875.00%+16.8 pips
Tokyo hours only20253063.33%+363.0 pips
Tokyo hours only20242369.57%−1.0 pips

The session filters improve 2025 and take 2024 to roughly zero. The only variant positive in both years is the unfiltered period 14, based on 15 to 36 trades a year, which is thin evidence in itself.

These numbers support using Williams %R as one input after direction has been decided elsewhere, rather than letting it choose direction by itself.

Notes

  • One pair, two years
  • Williams %R varies little between implementations, though conventions differ on whether level comparisons are inclusive. These figures come from Formiq's
  • Entries and exits both fill at bar closes
  • Spread is fixed at 0.3 pips throughout and slippage is set to zero
  • Four-hour settings trade 9 to 92 times a year: thin for reading win rates

Questions people ask

What are the best Williams %R settings?
Of the 120 long-side settings on USD/JPY hourly bars in 2025, only 10 finished positive. Period 40, entering at −95 and exiting at −30, took 50 trades for +499.1 pips. The textbook setup (period 14, buy below −80, exit above −20) lost 1,082.8 pips in 2025 and 569.3 pips in 2024.
What win rate does Williams %R produce?
A high one. Across the 120 long-side hourly settings in 2025 the median win rate was 59.0%, ranging from 48.57% to 67.05%. On four-hour bars the median was 64.1%, and the textbook setup reached 79.41% in 2024. The results over the same settings were still negative.
Why does a high win rate still lose money?
Because the losses are larger than the wins. The textbook hourly setup won 68.42% of its trades in 2024, but the average win was 44.86 pips against an average loss of 110.75: a 2.5-fold gap. Buying oversold and closing on a small bounce caps the upside; the trades that never bounce are the ones that run.
Which timeframe works for Williams %R?
Only the four-hour long side retained many profitable settings in both years: 89 of 120 were profitable in 2025, 71 in 2024 and 40 in both. Hourly managed 10 in 2025 and 15-minute managed 3.
Is Williams %R built into MetaTrader?
Yes. Both MT4 and MT5 ship it as Williams' Percent Range under Oscillators. TradingView lists it as "Williams %R". Formiq's charts include it with an adjustable period.

Formiq is a free browser-based FX terminal with replay practice and no-code backtesting. Open the chart or see what the free plan includes.