Ethereum H4 — CMF20 gate on EMA50 price crosses

Frozen retrospective study; Python 3 standard library only. Unzip and run from this directory:

python3 eth-cmf-replay.py --protocol eth-cmf-protocol.json --raw-dir raw4h --minute-dir raw1m --output replay.json

This package retains 79 official monthly ETHUSDT spot 4h ZIPs (June2019–December2025) and 9 selected daily 1m ZIPs, each with its official .CHECKSUM. Manifests retain URLs, source SHA256 and retrieval metadata. The script verifies every checksum before parsing. Minute data cover selected illustration windows, not a six-year continuous minute history. No historical H4 double-touch occurs in the frozen account or candidate runs.

Official archive specification: https://github.com/binance/binance-public-data/blob/master/README.md
Monthly archive base: https://data.binance.vision/data/spot/monthly/klines/ETHUSDT/4h/
Daily archive base: https://data.binance.vision/data/spot/daily/klines/ETHUSDT/1m/

CMF20 uses 20 observed candles and one-venue base ETH volume. A zero-range candle has multiplier zero while volume stays in the denominator. A zero total-volume window is undefined. The constant-volume control sets all weights to one. EMA50 begins with a 50-close SMA, then alpha = 2/51. ATR14 begins with mean first 14 true ranges, then Wilder smoothing. No rounding is applied before comparisons.

Primary signal: previous close<=previousEMA50 and current close>currentEMA50, on adjacent scheduled H4 source candles, simultaneous current CMF20 > 0, valid positive ATR14, and a flat funded account. Entry at immediately next scheduled opening; absence cancels the entry. Levels fixed from slippage-adjusted entry, 2 × ATR stop distance and target two distances above entry. Nominal risk up to 1% cash including fees/slippage, cash cap, one long position, no leverage. Maximum 30 scheduled holding bars including entry bar; barriers precede same-close time exit.

The replay retains 15 portfolio runs, 15 unresolved-ordering alternatives and 3 buy-and-hold references. Identical bound equity/annual paths use explicit refs to runs/{key}/{field}; all alternative trade ledgers remain available.

The separate shadow diagnostic evaluates every eligible price-cross candidate, even when candidates overlap, at one ETH and baseline costs. CMF-positive, nonpositive and undefined classes retain counts and descriptive net-R summaries. These candidates are dependent; their P&L is not a portfolio return and a nonpositive outcome does not prove a false market signal.

All output timestamps are UTC seconds. Source bar ts is its opening. Equity ts is scheduled closing cutoff, with bar_ts retained for annual attribution. A single-touch H4 exit only identifies an interval; selected minute refinements remain separate and do not alter main modeled fills or P&L. Two missing scheduled H4 source bars and 11 noncanonical reported source-close times remain disclosed; no synthetic candles are introduced.

Fixed-quantity cost recosting and gap exclusion report original-quantity ledger P&L, not a resimulated account return. Observed-bar occupancy is not exact elapsed exposure, H4-close drawdown is not worst intrabar decline, and fully invested passive references are not risk matched.

The specification was frozen before this study's ETH ingestion or performance calculation on 12 November 2026. Every evaluated historical period had already ended; no prospective/unseen-test claim is made. Results are research-model outcomes under fixed execution/cost/fractional-quantity assumptions, not executed trades or future-return promises.
