Research note No. 15 · Research Notes
Window Bias in On-chain Backtests
Most on-chain indicators 'work' on the window they were tuned on. A note on lookback, start-date and regime bias in backtests, and the checks that expose them.
Key takeaways
- With only a handful of market cycles in the data, almost any indicator can be tuned to look predictive in-sample.
- Results that change materially when the start date or lookback shifts by a few weeks are artefacts, not signals.
- Hold out entire regimes, not random days, when validating — observations within a regime are not independent.
- Report the full sensitivity surface; a single best parameter set is the least informative number in a backtest.
On-chain data has a seductive property: it goes back to the beginning. Every Bitcoin block since 2009 is available, which creates the impression of a long, rich history for testing indicators. In practice, the history is short where it matters. There have been only a few complete market cycles, and indicators tuned on them can look remarkably predictive while capturing almost nothing durable.
This note catalogues the main forms of window bias the desk encounters in on-chain backtests and the checks used to expose them.
The effective sample is tiny
Daily data over fifteen years gives thousands of observations, but consecutive days are not independent. Most on-chain indicators are slow, autocorrelated series that describe the same regime for months at a time. The number of independent observations is closer to the number of regimes — a few dozen at most — and the number of cycle tops and bottoms is a handful.
An indicator that "called" three cycle tops has been tested on three observations. With that little data, it is easy to find thresholds that fit perfectly by chance.
Form one: lookback bias
Many indicators include a lookback parameter — a moving-average length, a z-score window, a percentile window. Researchers typically try several and report the one that performs best.
The tell-tale sign of lookback bias is a sharp performance peak: the indicator works with a 200-day window but not with 180 or 220. A durable effect should degrade gracefully as parameters move. A spike in performance at one setting is evidence of fitting, not discovery.
Form two: start-date bias
Backtests start somewhere, and the starting point matters more in crypto than almost anywhere else. Starting in a deep bear market makes almost any long-biased strategy look good; starting near a top makes it look poor. Indicators normalised over "all history" also change meaning depending on whether the early, very small market is included.
The check is simple: rerun the backtest with start dates shifted by a few weeks at a time, across a wide range. If the conclusion flips depending on the start date, the result belongs to the date, not the indicator.
Form three: regime leakage
The most damaging form of bias comes from validating on data that is not truly out of sample. A common error is random train/test splitting of daily observations: because adjacent days are nearly identical, the test set contains near-copies of the training set and performance looks excellent.
The correct approach is to hold out entire regimes. Train on earlier cycles and test on a later one, or train excluding one cycle and test on it, rotating through all cycles. Performance under this scheme is typically much worse — and much more honest.
Form four: survivorship and definitional drift
On-chain metrics are themselves revised. Address clustering improves, exchange labels are added, entity-adjusted series are recalculated back to genesis. A backtest run on today's version of a metric uses information that was not available at the time, including labels assigned after the fact.
Where possible, the desk uses point-in-time versions of labelled metrics or, failing that, treats any signal that depends heavily on recent re-labelling as suspect.
The checks the desk runs
Every indicator study passes through the same battery before it is reported:
- Sensitivity surface. Performance across a grid of parameters, displayed in full. Robust effects form broad plateaus; artefacts form isolated peaks.
- Rolling start dates. The result recalculated for many start dates across the sample.
- Leave-one-regime-out validation. Each cycle held out in turn.
- Simple baselines. Comparison against trivial strategies — buy and hold, a plain moving average — over the same windows. Many sophisticated on-chain signals fail to beat a simple trend filter.
- Point-in-time inputs where available.
An indicator that survives all five is not proven, but it has earned the right to be watched.
Reproducibility
The desk publishes the queries behind its studies wherever possible so that readers can rerun them with different windows. The Wevr query engine makes that practical: changing a lookback or a start date is a one-line edit, and the full sensitivity surface can be generated by looping over parameters. Base series are available on the chart explorer for visual checks.
A worked example of a sensitivity surface
Suppose an indicator signals "overheated" when a z-score of the MVRV ratio exceeds a threshold, using a rolling window to compute the z-score. A typical study reports the single best combination — say, a particular window and threshold that flagged every past cycle top.
The sensitivity surface tells a fuller story. Plotting performance across windows from 90 to 730 days and thresholds from 1.5 to 3.5 standard deviations, a robust effect would show a broad region of good performance: most reasonable combinations flag most tops, with gradual degradation at the edges. An artefact shows a narrow ridge: one window, one threshold, and sharp failure on either side.
In our experience, many popular on-chain thresholds look like ridges, not plateaus. That does not make the underlying metric useless — it usually still describes overheating qualitatively — but it does mean the precise threshold carries far less information than its backtest suggests.
Conclusion
On-chain data is unusually complete and unusually short. Treat every backtest as a description of a few regimes rather than a law of markets; look at the whole sensitivity surface rather than its peak; and validate on regimes the model has never seen. The indicators that survive will be fewer and less spectacular — and much more useful.