Independent market intelligence
Research over noise · Risk before return
CRYPTO STRATEGY RESEARCH

Bitcoin H4 Williams %R + MFI: does volume confirmation help?

We test a Williams %R midpoint crossing with MFI confirmation on Binance BTC/USDT H4. With base costs, the filtered 2020–2025 account returns −5.94% versus −11.03% without MFI. Lower drawdown and fewer trades coexist with an overall loss and strong cost sensitivity.

In simple terms

With this strategy, we buy Bitcoin when Williams %R crosses above −50 on a completed four-hour candle and MFI is above 50. We enter at the opening of the next candle if a quote is available at that scheduled time. We set the stop-loss from ATR at entry and leave it unchanged. We close the trade if the stop is hit or Williams %R gives an exit signal; otherwise, we plan to exit after 30 H4 periods. Missing quotes can delay an exit.

On this page
01

Read the full-period result first

With measured-volume MFI, the base-cost account returns −5.94% over 2020–2025, with 25.50% maximum H4-close drawdown and 313 trades. Williams %R alone returns −11.03% with 35.45% drawdown and 817 trades. MFI reduces trading and the full-period loss in this comparison. It does not establish a profitable full-period rule: the filtered profit factor is 0.94 versus 0.96 without MFI, and the two subperiods behave differently. Read the cost and period comparisons before interpreting the smaller drawdown.

With measured-volume MFI

Net winners
72
Net losers
241
02

Change one entry gate and rerun each account

Both rules use the same Williams %R crossing, 100-bar eligibility, fixed ATR protection, oscillator exit and position-sizing formula. The primary rule additionally requires MFI above 50. Each account starts with 10,000 USDT, trades only long and uses no leverage. Primary and control are rebuilt separately for each period and cost scenario; their cash paths and quantities can differ. Actual filtered trades must not be assumed to be a subset of control trades. The equal-volume version is a separately declared constructed diagnostic.

03

Williams %R locates the close inside its own 14-bar range

Use the highest high and lowest low over 14 canonical H4 candles, including the current one. Williams %R is 0 at the window high, −100 at its low and −50 at its midpoint. Each current and previous reading uses its own rolling window. A zero-width window makes the reading unavailable, so a crossing cannot bridge that unavailable predecessor. Exact original-price integers determine the threshold comparisons; a displayed −50.00 can conceal a small unrounded difference.

WR_t = −100 × (HH14_t − C_t) / (HH14_t − LL14_t)

04

MFI classifies 14 typical-price comparisons

Typical price is (high + low + close) / 3. Multiply each current typical price by that candle’s total traded BTC quantity. Put this nonnegative proxy in the positive sum when typical price rises, in the negative sum when it falls, and in neither when it is unchanged. Fourteen comparisons require 15 adjacent prices. MFI is 100 times the positive sum divided by both sums together; above 50 means the positive sum is strictly larger. An empty total is unavailable, positive-only flow gives 100 and negative-only flow gives 0. This is a price-volume classification, not measured net capital flow.

TP_t = (H_t + L_t + C_t) / 3; F_t = TP_t × V_t
MFI14_t = 100 × P14_t / (P14_t + N14_t); MFI14 > 50 ⇔ P14 > N14

05

Enter after a completed midpoint crossing

While flat, require previous Williams %R at or below −50, current Williams %R strictly above −50, and current MFI strictly above 50. Equality at the current threshold fails entry. The signal becomes available only when H4 closes; buy at the immediately next scheduled observed opening, including modeled adverse slippage. If that opening is missing, cancel the entry. Do not reject an available opening because that entry candle’s close metadata later proves noncanonical. Both comparison arms retain the same current real-MFI availability requirement.

WR_(t−1) ≤ −50 < WR_t; MFI14_t > 50
E_f = O_(t+1) × (1+s)

E_f: Modeled entry fill · USDT per BTC · O_(t+1): Open

06

Keep the initial stop fixed and define every exit

Set the fixed stop 2 times the signal ATR14 below the modeled entry fill. Reject a nonpositive stop or one already at or above the raw available opening. A completed Williams %R at or below −50 queues liquidation at the next opening. Otherwise, exit after 30 scheduled H4 intervals or at period end; there is no profit target or trailing stop. At an observed opening, stop gap has priority over a queued oscillator exit, then an overdue time exit. Intrabar low touching the stop also exits. A queued exit survives a missing quote or later unavailable reading.

SL = E_f − 2 × ATR14_t; WR_t ≤ −50

07

Share the warm-up and preserve source discontinuities

Entry requires at least 100 adjacent canonical H4 candles, positive ATR14, defined current and previous Williams %R, and defined current real MFI. The preceding reading can already be valid when its canonical run is 99. ATR starts from the mean of the first 14 true ranges and then uses Wilder smoothing. A missing scheduled candle or noncanonical source-close label restarts indicator history. No candles are interpolated. Genuine zero volume remains a valid price observation, although an empty MFI flow window is unavailable.

TR_t = max(H_t−L_t, |H_t−C_(t−1)|, |L_t−C_(t−1)|)
ATR14_t = (13 × ATR14_(t−1) + TR_t) / 14

08

Size risk after including both sides of the modeled costs

Planned stop risk is 1% of cash immediately before entry. The per-BTC loss includes entry fees, the stop reference, exit slippage and exit fees. Quantity is the smaller of that risk budget divided by unit loss and the amount affordable with entry fees included. The initial planned risk is therefore not a fixed cash amount throughout the study. Quantities can vary continuously and include fractional amounts; historical venue lot, tick and minimum-notional rules are not reconstructed. A gap through the stop can lose more than the planned risk.

L_unit = E_f(1+f) − SL(1−s)(1−f)
q = min[0.01 × B / L_unit, B / (E_f(1+f))]
R_net = P_net / (q × L_unit)

B: Uninvested cash · R_net: Net result · R · P_net: Net P&L · USDT

09

Costs change the conclusion

Base costs are 0.10% fee and 0.05% adverse slippage on each side. Higher costs use 0.20% and 0.10% respectively. The filtered full-period return is +33.20% without costs, −5.94% at base costs and −29.63% at higher costs. Its later-period base return of +1.39% becomes −16.25% under higher costs. Every scenario rebuilds fills, stops, sizes and cash rather than merely subtracting fees from a fixed trade list. These assumptions are modeled research inputs, not reconstructed historical execution.

X_f = X_ref × (1−s)
P_net = q(X_f − E_f) − f × q(E_f + X_f)

X_f: Modeled exit fill · USDT per BTC · E_f: Modeled entry fill · USDT per BTC · P_net: Net P&L · USDT

Full-period sensitivity to modeled costs

With measured-volume MFIWilliams %R only
Full-period sensitivity to modeled costs0.00%No modeled costs+33.20%+116.99%Base costs−5.94%−11.03%Higher costs−29.63%−58.15%
Realized costs and turnover · full period
Account / periodNet return · %Fees · USDTEntry slippage · USDTExit slippage · USDTTurnover / initial cash · multiples
With measured-volume MFI · No modeled costs+33.200.000.000.00261.51
Williams %R only · No modeled costs+116.990.000.000.00929.37
With measured-volume MFI · Base costs−5.941,996.92498.63499.83199.69
Williams %R only · Base costs−11.035,276.941,317.531,320.94527.69
With measured-volume MFI · Higher costs−29.633,190.46796.70798.53159.52
Williams %R only · Higher costs−58.156,876.111,716.781,721.28343.81
Each bar is a complete account rerun. Percent return uses the same initial capital; quantities and cash paths can differ. The fee/slippage inputs are scenarios rather than observed historical fills.
10

Compare equity paths and their exposure

The plot shows daily sampled closing account values; all reported metrics use every observed H4 closing mark. An open position is marked at hypothetical net-liquidation value after modeled exit costs. Drawdown includes the initial cash peak and is not an intrabar or tick-level maximum. The observed-candle occupancy proxy is 19.53% with MFI and 52.92% without it. It includes an opening-exit interval and does not measure exact elapsed-time or capital-weighted exposure. A lower drawdown with substantially lower participation is not a like-for-like risk-adjusted victory.

Account paths with and without the MFI gate

With measured-volume MFIWilliams %R only
Account paths with and without the MFI gate7,6879,08110,47411,86713,261USDT202020232026
Base-cost accounts start separately at 10,000 USDT. Curves sample the last observed H4 closing mark per UTC day; reported drawdown uses all H4 marks. Account value is hypothetical net liquidation in USDT.
11

Separate the periods and inspect the constructed diagnostic

Full, early and later periods are 2020–2025, 2020–2022 and 2023–2025. Each starts independently flat with 10,000 USDT while retaining valid preperiod indicator history. A qualifying preperiod close can enter exactly at the first scheduled opening. MFI returns −7.23% early versus −5.35% without it, then +1.39% later versus −6.36%. Replacing every positive volume by 1 BTC, with zeros retained, produces +12.06% for the full period. That constructed diagnostic still contains typical-price weighting; it is not recorded market volume, an independent validation set or a selected replacement strategy.

Base-cost period comparison and passive accounts
Account / periodNet return · %H4-close drawdown · %Closed tradesNet profit factorObserved-candle occupancy · %
With measured-volume MFI · 2020–2025−5.9425.503130.9419.53
Williams %R only · 2020–2025−11.0335.458170.9652.92
Constructed equal-volume MFI · 2020–2025+12.0626.504811.0831.41
Fully invested buy-and-hold · 2020–2025+1,114.4977.04——100.00
With measured-volume MFI · 2020–2022−7.2317.531390.8317.44
Williams %R only · 2020–2022−5.3527.023670.9548.59
Constructed equal-volume MFI · 2020–2022−6.2324.432110.9027.01
Fully invested buy-and-hold · 2020–2022+129.2277.04——100.00
With measured-volume MFI · 2023–2025+1.3911.741741.0221.61
Williams %R only · 2023–2025−6.3619.614500.9656.96
Constructed equal-volume MFI · 2023–2025+19.5112.542701.2035.81
Fully invested buy-and-hold · 2023–2025+428.2734.37——100.00
12

Retain the data-quality limits in the result

The 79 verified monthly ZIPs contain 14,434 H4 rows, 2 missing scheduled candles and 11 noncanonical close labels. The filtered full-period ledger flags 0 trades across missing intervals and 1 touching a noncanonical row; corresponding control counts are 1 and 3. Held stops remain active across these events, but unobserved paths cannot be reconstructed. A stop touch identifies an H4 interval, not an exact execution minute. Delayed opening exits and stale or early terminal close proxies are separately flagged; later metadata is never used to erase an earlier entry.

Full-period quality flags · base costs
Account / periodWith measured-volume MFIWilliams %R only
Trades across missing intervals01
Trades touching noncanonical rows13
Delayed oscillator exits00
Noncanonical close-fill proxies00
Early terminal-close proxies00
13

Read the first early and later completed trades

The first completed early-period primary trade enters at 2020-01-06 04:00 UTC and realizes +1.773 R after costs. The first completed later-period primary trade enters at 2023-01-16 16:00 UTC and realizes −0.020 R. The later example has a higher exit price reference than entry reference, yet finishes with a small net loss after costs. These chronological examples illustrate execution, not the average trade. S marks the completed signal, E the raw entry reference, X the exit reference and SL the fixed stop. Modeled fills include the stated adverse slippage.

First completed early-period primary trade

First completed early-period primary trade6,680.967,171.997,663.028,154.058,645.08BTC/USDT spot · USDT per BTCWilliams %R14 · −100 to 0MFI14 · 0 to 100−100−80−50−2000205080100SLSEX2020-01-02 16:002020-01-06 04:002020-01-09 16:00

Candles use even observed-index spacing. Dashed lines mark compressed calendar gaps; no observations are invented. Indicator lines break at unavailable values. Outlined candle bodies mark noncanonical source-close labels.

S: completed signal · E: entry reference · X: exit reference · SL: fixed stop

Choose a candle, move the slider or use arrow keys. Prices use 2 decimals, BTC volume and ATR use 6, and oscillators use 2. Axes and S/E/X/SL remain fixed; cursor and values follow the selection. Unavailable readings stay unavailable.

H4 interval opens · UTC
2020-01-06 00:00 UTC
Scheduled H4 close · UTC
2020-01-06 04:00 UTC
Canonical source-close label
Yes
Open
7,357.64
High
7,580.00
Low
7,346.76
Close
7,540.90
Williams %R14
−12.22
MFI14
58.32
Total traded BTC
13,578.258656
ATR14 · USDT per BTC
100.914091
Fixed stop · USDT per BTC
7,342.84
Recorded modeled fills and net result
H4 interval opens · UTCModeled entry fill · USDT per BTCModeled exit fill · USDT per BTCNet P&L · USDTNet result · R
2020-01-06 04:00 UTC7,544.677,950.98+177.33+1.773
First chronological early-period trade: 2020-01-06 04:00 UTC, net +1.773 R. S is the completed signal; E and X mark raw fill references, and SL stays fixed. Context after X is for display.

First completed later-period primary trade

First completed later-period primary trade18,433.8219,324.0120,214.2121,104.4021,994.59BTC/USDT spot · USDT per BTCWilliams %R14 · −100 to 0MFI14 · 0 to 100−100−80−50−2000205080100SLSEX2023-01-13 04:002023-01-16 04:002023-01-19 04:00

Candles use even observed-index spacing. Dashed lines mark compressed calendar gaps; no observations are invented. Indicator lines break at unavailable values. Outlined candle bodies mark noncanonical source-close labels.

S: completed signal · E: entry reference · X: exit reference · SL: fixed stop

Choose a candle, move the slider or use arrow keys. Prices use 2 decimals, BTC volume and ATR use 6, and oscillators use 2. Axes and S/E/X/SL remain fixed; cursor and values follow the selection. Unavailable readings stay unavailable.

H4 interval opens · UTC
2023-01-16 12:00 UTC
Scheduled H4 close · UTC
2023-01-16 16:00 UTC
Canonical source-close label
Yes
Open
20,816.63
High
21,053.89
Low
20,611.48
Close
20,994.17
Williams %R14
−36.67
MFI14
53.37
Total traded BTC
50,011.280240
ATR14 · USDT per BTC
375.638257
Fixed stop · USDT per BTC
20,254.59
Recorded modeled fills and net result
H4 interval opens · UTCModeled entry fill · USDT per BTCModeled exit fill · USDT per BTCNet P&L · USDTNet result · R
2023-01-16 16:00 UTC21,005.8721,032.21−1.96−0.020
First chronological later-period trade: 2023-01-16 16:00 UTC, net −0.020 R. A higher raw exit reference does not guarantee a positive net result after fees and slippage.
14

Disclose the outcome-conditioned teaching example

The third illustration is the first later-period primary trade with a net-P&L sign opposite to the first later example. It enters at 2023-02-17 12:00 UTC and realizes +0.424 R. This selection is explicitly conditioned on the completed result for teaching purposes; it is not an unbiased or random performance sample. The rule and this selection criterion were fixed before calculation. Twenty observed candles before the signal and three after the exit provide context; future prices do not rank the selected example. The three markers and stop stay fixed while the reader cursor moves.

First later trade with the opposite net-result sign

First later trade with the opposite net-result sign21,086.7022,239.0423,391.3924,543.7325,696.07BTC/USDT spot · USDT per BTCWilliams %R14 · −100 to 0MFI14 · 0 to 100−100−80−50−2000205080100SLSEX2023-02-14 00:002023-02-17 08:002023-02-20 12:00

Candles use even observed-index spacing. Dashed lines mark compressed calendar gaps; no observations are invented. Indicator lines break at unavailable values. Outlined candle bodies mark noncanonical source-close labels.

S: completed signal · E: entry reference · X: exit reference · SL: fixed stop

Choose a candle, move the slider or use arrow keys. Prices use 2 decimals, BTC volume and ATR use 6, and oscillators use 2. Axes and S/E/X/SL remain fixed; cursor and values follow the selection. Unavailable readings stay unavailable.

H4 interval opens · UTC
2023-02-17 08:00 UTC
Scheduled H4 close · UTC
2023-02-17 12:00 UTC
Canonical source-close label
Yes
Open
23,635.84
High
23,861.78
Low
23,532.69
Close
23,789.82
Williams %R14
−45.95
MFI14
73.74
Total traded BTC
58,228.450050
ATR14 · USDT per BTC
455.599740
Fixed stop · USDT per BTC
22,889.82
Recorded modeled fills and net result
H4 interval opens · UTCModeled entry fill · USDT per BTCModeled exit fill · USDT per BTCNet P&L · USDTNet result · R
2023-02-17 12:00 UTC23,801.0124,260.37+41.84+0.424
The first later-period trade with net-P&L sign opposite to the preceding later example: 2023-02-17 12:00 UTC, +0.424 R. This is an explicitly outcome-conditioned teaching selection.
15

Read calendar returns alongside the passive benchmark

Annual account returns use the last H4 mark belonging to each candle’s UTC calendar year; the final December interval belongs to that year even though its closing value becomes available on January 1. They include open-position marks and compounding, so they are not sums of closed-trade returns. The separate fully invested buy-and-hold account returns +1,114.49% over the full period with 77.04% H4-close drawdown. Its participation and risk are different. Neither that benchmark nor the three-year split turns reused historical prices into prospectively unseen validation.

V_account,t = B + q × C_t × (1−s)(1−f)

B: Uninvested cash · C_t: Close

Calendar account returns · base costs

With measured-volume MFIWilliams %R only
Calendar account returns · base costs−20.15%−10.07%0.00%10.07%20.15%202020212022202320242025
Calendar account returns · base costs
UTC candle yearWith measured-volume MFIWilliams %R only
2020+5.52+17.18
2021+0.19+1.16
2022−12.25−20.15
2023−6.80−4.02
2024+11.43+4.43
2025−2.38−6.23
Percent changes between year-end H4 marks in the same account. December’s final interval is assigned to its candle year. Open positions are marked net of modeled exit costs; results compound.
16

Reproduce the comparison before drawing a trading conclusion

The frozen protocol names the exact source files, integer threshold conventions, event priorities and 21 account runs. Downloads include the 79-file source manifest, source candles, complete scenario trade ledger, compact displayed evidence and two independent rebuild scripts. Each implementation verifies SHA-256, sidecars, CRC, input identities and timestamp units. This retrospective study finds a smaller full-period loss and drawdown with the measured-volume gate, alongside cost sensitivity and weaker early-period return than the control. It supports a reproducible comparison, not a claim of reliable future profit.

Frequently asked questions

Does MFI make this Bitcoin rule profitable?

The filtered full-period base-cost result is −5.94%, with profit factor 0.94. Its later-period return is +1.39%, but turns negative under the higher-cost scenario. Lower loss and drawdown than the control do not establish dependable profitability.

Why use the −50 Williams %R level instead of −80?

This study tests a midpoint momentum crossing, not recovery from an oversold threshold. The previous reading may equal −50; the current one must be strictly above it. The completed exit condition is Williams %R at or below −50.

Is MFI confirmation independent of the price oscillator?

MFI adds venue-specific total BTC volume but still uses typical prices, while Williams %R uses close position inside a price window. Shared price inputs prevent treating the pair as independent evidence. The constructed equal-volume diagnostic keeps price weighting and does not measure actual capital flow.

Does 1% planned risk cap every loss at 1%?

No. The size calculation includes modeled entry and stop-exit costs, with a cash affordability cap. A gap below the stop can produce a larger loss, and the dataset cannot reveal the full path inside missing intervals. Historical venue order constraints are not reconstructed.

Why can price rise while the example loses money?

Net P&L uses adversely slipped entry and exit fills and fees on both notionals. A small increase in the raw exit reference can be less than those costs. The first later-period illustration demonstrates this directly; it is a single trade, not the average outcome.

Can I reproduce the account paths from the downloads?

Yes, using the frozen protocol, selected original monthly ZIPs, manifest and standalone Python scripts. The compact evidence records displayed summaries and examples; replay reconstructs every H4 account mark and all 21 scenario ledgers. Missing quotes, noncanonical labels and modeled execution remain explicit limitations.

Primary sources

Download data and reproduction files

Place the 79 named original ZIPs and their CHECKSUM files in raw4h, then run both standalone scripts against the same frozen protocol and manifest. The CSV contains every scenario trade; the compact JSON provides the displayed summaries and examples.

python3 btc-wr-mfi-midline-replay.py --protocol btc-wr-mfi-midline-protocol.json --manifest btc-wr-mfi-midline-source-manifest.json --raw-dir raw4h --output replay.json
python3 btc-wr-mfi-midline-independent-check.py --protocol btc-wr-mfi-midline-protocol.json --manifest btc-wr-mfi-midline-source-manifest.json --raw-dir raw4h --output independent.json

Created by the MyProfitFactor editorial team.

Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.

Research limits

This is retrospective educational research on reused historical data with modeled execution. It does not establish future profitability or a live track record. Missing paths, venue-specific volume and simplified costs limit the conclusions.