In simple terms
We buy Ethereum after Williams %R recovers above −80 on a completed H4 candle while remaining below −20, provided the close is above EMA200. We enter at the next scheduled opening. A fixed ATR stop, a completed %R exit condition or a time limit closes the position. This is a hypothetical cash-funded spot study.
On this page
The question and the rules fixed before calculation
Can a familiar oversold-recovery signal produce a positive result after costs, and does a slow trend filter help? We fixed Williams %R14, EMA200, the entry band and exit rules before calculating this strategy. The price history was already available and familiar from earlier research. We did not search parameter combinations; the historical split is not a prospective unseen test.
Original observations and incomplete intervals
We verify 79 official Binance ETHUSDT H4 archives with 14,434 observations, including June 2019 warm-up. Missing scheduled candles: 2; rows with nonstandard source-close timestamps: 11. We retain and disclose these rows. A missing or noncanonical interval resets indicator history; it never becomes an invented candle.
Williams %R measures the close within a recent range
For the latest 14 consecutive valid candles, HH is the highest high and LL the lowest low, including the current candle. Williams %R is −100×(HH−C)/(HH−LL), ranging from −100 to 0. At −100 the close equals LL; at 0 it equals HH. Below −80 is conventionally called oversold, but that label does not guarantee a rebound. When HH=LL, %R is unavailable and produces neither an entry nor an oscillator exit.
WR_t = −100 × (HH14_t − C_t) / (HH14_t − LL14_t)
EMA200, ATR14 and the common eligibility gate
EMA200 starts with the mean of the first 200 consecutive canonical closes, then uses weight 2/201 for each new close. Wilder ATR14 starts with the mean of the first 14 true ranges, then uses weight 1/14; a restarted segment begins with TR=H−L. Both accounts require at least 200 current-segment observations, positive ATR and available current and previous %R. A flat 14-candle range alone does not reset EMA or ATR; an unavailable previous %R prevents a crossing.
α = 2/201; EMA200_t = α × C_t + (1−α) × EMA200_(t−1)
ATR14_t = (13 × ATR14_(t−1) + TR_t) / 14
A recovery signal and the next scheduled opening
When flat, require previous %R at or below −80, current %R strictly above −80 and strictly below −20, and current close strictly above EMA200. A jump directly into the exit region is deliberately excluded. The −80 and −20 comparisons use exact integers from the original eight-decimal prices, without display rounding. Buy only at the immediately next scheduled H4 opening plus adverse slippage; cancel if that opening is missing or outside the account period. Later close-time metadata cannot censor an opening already observed.
WR_(t−1) ≤ −80 < WR_t < −20; C_t > EMA200_t
E_f = O_(t+1) × (1+s)
E_f: Entry fill after slippage · O_(t+1): Open
One protective stop and an oscillator exit
The fixed stop is the modeled entry fill after slippage minus 2×ATR14 from the completed signal candle. There is no profit target or trailing stop. Reject an entry unless the stop is positive and below the raw opening. At each observed opening, check a stop gap first, then a queued %R exit, then an overdue time exit. Only after those opening decisions may the current candle's later low trigger its stop.
SL = E_f − 2 × ATR14_t
E_f: Entry fill after slippage
Holding deadlines, missing openings and exit levels
A completed valid %R at or above −20 queues an exit for the next scheduled opening. This is a level condition, not a requirement for a fresh crossing. A queued exit persists; if its opening is missing, use the first observed opening with stop-gap priority. The entry interval counts as one; a surviving position exits at the 30th scheduled close or its account's period end. The limit counts scheduled intervals, including missing ones; if its close is unavailable, use the first later observed opening under the same priorities. Intrabar stop checks precede a same-close time exit. A noncanonical liquidation close is flagged as a partial-price proxy.
Cash-funded size and the meaning of net R
Each account starts with 10,000 USDT and no leverage. Planned loss at the nominal stop, including modeled fees and slippage, is limited to 1% of pre-entry cash. Available cash can reduce quantity further. Net R divides realized net P&L by that entry's planned monetary loss. Fractional quantities are allowed; historical lot and minimum-notional rules are not reconstructed. An opening gap can exceed the planned loss.
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: Cash · R_net: Net R · P_net: Net P&L · USDT
Costs change the result and the account path
Base costs are 0.10% fee and 0.05% adverse slippage on each side. The stress case uses 0.20% and 0.10%; the zero-cost case removes both. Full-period returns are +8.41% without costs, −5.22% at base costs and −16.08% at higher costs. The scenarios contain 165, 166 and 167 trades respectively: costs also change stop levels and time in position. Every scenario rebuilds fills, size and subsequent cash; this is not a fixed-fee subtraction.
X_f = X_ref × (1−s)
P_net = q(X_f − E_f) − f × q(E_f + X_f)
X_f: Exit fill after slippage · X_ref: Exit reference · E_f: Entry fill after slippage · P_net: Net P&L · USDT
The predefined cost scenarios
| Account or scenario | Net return % | Fees · USDT | Entry slippage · USDT | Exit slippage · USDT | Traded notional / initial cash |
|---|---|---|---|---|---|
| Williams %R + EMA200 · zero costs | +8.41 | 0.00 | 0.00 | 0.00 | 93.52 |
| Williams %R + EMA200 | −5.22 | 822.90 | 205.55 | 205.90 | 82.29 |
| Williams %R + EMA200 · higher costs | −16.08 | 1,468.59 | 366.85 | 367.45 | 73.43 |
Return, drawdown and the limit of a high win count
The continuous filtered account returns −5.22% across 166 trades, with 97 positive and 69 negative net results. Its profit factor is 0.92, maximum sampled drawdown 12.93% and observed-interval occupancy 11.47%. More winning trades do not ensure a positive total. Separately restarted early and later accounts return +2.51% and −7.54%. Fully invested buy-and-hold returns +2,193.85% with 81.12% sampled drawdown and a different exposure profile.
The continuous accounts after costs
The EMA filter reduces this historical loss
The unfiltered full account returns −9.75% with 21.56% sampled drawdown, versus the filtered −5.22% and 12.93%. In the separately restarted later period, the filtered result is −7.54% versus −9.63% without EMA, with sampled drawdowns of 12.93% and 17.85% respectively. This comparison favors the filter on these measures, while both full accounts lose after base costs. It does not establish a reliable profitable method.
| Account or scenario | Net return % | H4-close drawdown % | Trades | Profit factor | Observed-interval occupancy % |
|---|---|---|---|---|---|
| Williams %R + EMA200 · Continuous 2020–2025 | −5.22 | 12.93 | 166 | 0.92 | 11.47 |
| Williams %R without EMA filter · Continuous 2020–2025 | −9.75 | 21.56 | 459 | 0.95 | 33.90 |
| Williams %R + EMA200 · Independent 2020–2022 | +2.51 | 5.17 | 65 | 1.10 | 9.48 |
| Williams %R without EMA filter · Independent 2020–2022 | −0.96 | 16.13 | 200 | 0.99 | 29.13 |
| Williams %R + EMA200 · Independent 2023–2025 | −7.54 | 12.93 | 101 | 0.82 | 13.47 |
| Williams %R without EMA filter · Independent 2023–2025 | −9.63 | 17.85 | 259 | 0.91 | 38.53 |
| Buy and hold · base costs · Continuous 2020–2025 | +2,193.85 | 81.12 | — | — | 100.00 |
What data-quality flags leave uncertain
Trades crossing missing H4 intervals: 0; trades exposed to noncanonical rows: 2; delayed %R exits: 0; partial-close liquidation proxies: 0. Observed openings and ranges cannot reveal a missing price path. Excluding flagged trades at their original quantities is only a ledger sensitivity diagnostic, not an executable avoidance rule or a rebuilt account return.
| Account or scenario | Trades |
|---|---|
| Trades crossing missing H4 intervals | 0 |
| Trades exposed to noncanonical rows | 2 |
| Delayed Williams %R exits | 0 |
| Partial-close liquidation proxies | 0 |
The first early and later trades
The first completed early trade opens on 2020-01-09 00:00 UTC and records +0.348 net R. The first completed later trade opens on 2023-01-06 16:00 UTC and records +0.233 net R. These examples are selected chronologically. The H4 panels show real OHLC, EMA200, Williams %R and the fixed stop. S marks the signal candle, E the raw entry reference and X the exit reference interval; modeled fills separately include slippage.
First completed early trade
Select a candle with the chart, slider or arrow keys. Values are historical observations; opening time and signal availability are separate.
- Opening · UTC
- 2020-01-05 12:00 UTC
- Available · UTC
- 2020-01-05 16:00 UTC
- Open
- 135.06
- High
- 137.96
- Low
- 135.06
- Close
- 137.26
- Williams %R · range −100 to 0
- −7.64
- EMA200 · USDT per ETH
- 137.64
- SL · fixed stop
- 134.75
| Opening · UTC | Entry fill after slippage | Exit fill after slippage | Net R |
|---|---|---|---|
| 2020-01-09 00:00 UTC | 140.83 | 143.35 | +0.348 |
First completed later trade
Select a candle with the chart, slider or arrow keys. Values are historical observations; opening time and signal availability are separate.
- Opening · UTC
- 2023-01-03 04:00 UTC
- Available · UTC
- 2023-01-03 08:00 UTC
- Open
- 1,215.58
- High
- 1,219.89
- Low
- 1,213.41
- Close
- 1,216.61
- Williams %R · range −100 to 0
- −22.78
- EMA200 · USDT per ETH
- 1,228.76
- SL · fixed stop
- 1,239.68
| Opening · UTC | Entry fill after slippage | Exit fill after slippage | Net R |
|---|---|---|---|
| 2023-01-06 16:00 UTC | 1,263.64 | 1,272.48 | +0.233 |
An example selected by its opposite net result
The third example is the first later trade with a strictly opposite net-P&L sign to the first later trade. It opens on 2023-02-09 08:00 UTC and records −1.000 net R. Zero is not treated as an opposite sign. This outcome-conditioned selection is educational, not representative evidence. All examples already belong to the account totals. An H4 stop marker identifies an interval, not an exact tick time or an actual fill.
First later trade with the opposite net result
Select a candle with the chart, slider or arrow keys. Values are historical observations; opening time and signal availability are separate.
- Opening · UTC
- 2023-02-05 20:00 UTC
- Available · UTC
- 2023-02-06 00:00 UTC
- Open
- 1,619.48
- High
- 1,639.60
- Low
- 1,611.80
- Close
- 1,629.02
- Williams %R · range −100 to 0
- −77.07
- EMA200 · USDT per ETH
- 1,524.01
- SL · fixed stop
- 1,578.25
| Opening · UTC | Entry fill after slippage | Exit fill after slippage | Net R |
|---|---|---|---|
| 2023-02-09 08:00 UTC | 1,630.69 | 1,577.46 | −1.000 |
Annual paths and sampled risk
Annual returns compare successive year-end equity values from the continuous account and compound rather than add. Each H4-close equity point includes estimated selling costs on an open position; the initial peak includes starting cash. Drawdown does not capture the worst intrabar move. Exposure here is an observed-interval occupancy proxy: an interval in which the position exits at the opening is counted, so this is not exact elapsed time in the market. Separate periods restart cash and positions while retaining prior indicator history, subject to data resets.
V_t = B + q × C_t × (1−s)(1−f)
V_t: Liquidation equity · B: Cash · C_t: Close
Year-by-year results of the continuous accounts
| Year | Williams %R + EMA200 | Williams %R without EMA filter |
|---|---|---|
| 2020 | +2.28 | +8.46 |
| 2021 | +2.86 | +2.63 |
| 2022 | −2.56 | −11.02 |
| 2023 | +2.46 | +4.97 |
| 2024 | −6.14 | −6.71 |
| 2025 | −3.86 | −6.94 |
Reproduce the account and interpret the evidence
The downloads contain the frozen specification, verified source manifest, complete candle evidence, all trade ledgers and standalone replay code. A separate Decimal implementation checks indicators, decisions and cash paths. The study covers one venue and a USDT quote, without borrowing or cash interest. Changing the rules after seeing this loss would create a different study. Historical tests and assumed fills do not establish future returns or real execution quality.
Run the replay with the protocol and original monthly ZIPs with their checksum files. The independent checker can also compare the retained observations with those original ZIPs.
python3 eth-wr-replay.py --protocol eth-wr-protocol.json --raw-dir raw4h --output replay.json python3 eth-wr-independent-check.py --protocol eth-wr-protocol.json --evidence eth-wr-evidence.json --raw-dir raw4h
Frequently asked questions
Is this Williams %R strategy profitable after costs?
Under these frozen assumptions, no: the filtered full account returns −5.22% and the separately restarted later account −7.54%. Removing both fees and slippage produces +8.41%, while higher costs produce −16.08%. These are hypothetical historical outcomes, not a universal verdict on the indicator or a promise about another implementation.
Does a reading below −80 mean buy immediately?
No. An oversold reading can persist. This study waits for a completed recovery from at or below −80 to strictly above −80 but below −20, plus the EMA200 filter and data gate. A signal alone does not describe the exit, cost or risk rules.
Why does the no-EMA control still wait for 200 observations?
Both accounts use the same valid-data gate and oscillator entry band. The control removes only close>EMA200. A shorter control warm-up would change two conditions at once. The previous %R reading must exist in the same segment but need not itself have 200 observations.
Is 2023–2025 an unseen test?
No. The history was already available and used in prior research. Restarting cash checks retrospective consistency; indicators retain earlier valid history. This does not turn familiar past data into prospective validation.
How should I read the chart times and trade markers?
All candle times are H4 openings in UTC; close-based signals become available four hours later. S shows the signal candle, E the raw entry reference and X the exit reference interval. The account separately models adverse slippage. A stop touch is located within an H4 interval, not at an exact tick timestamp.
Does a 1% risk size guarantee the maximum loss?
No. The budget uses the nominal stop and the scenario's assumed entry and exit costs. Gaps, missing prices, liquidity and actual execution can produce a different loss. Reported drawdown is sampled at H4 closes; it is not a continuous worst-case risk limit.
Primary sources
Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.
Scope and research limitations
One historical venue, a stablecoin quote, assumed costs and fractional quantities do not establish actual fills or future returns. Missing intervals and noncanonical source rows remain limitations. There is no prospective unseen-test claim.