Most backtests lie in the same few ways: they fill you at prices you would never get, they read 1-minute bars as if they knew the order of the high and low, they skip costs, and they report the best of hundreds of settings as if it were the only one tried. We test every strategy on this site against a random control, on a period we lock away until the end, re-checked on real tick prints, with costs charged. This page explains each step and shows two backtests that looked good until we did.

Every study article on this site links here, so this is also the plain-language reference for terms like control, lockbox and survivor.

What we test on

  • Data: ES and NQ 1-minute bars from 2010 to 2026, back-adjusted continuous contracts, with our own recorded tick minutes added after September 2026.
  • Tick prints for re-checks: NinjaTrader tick exports for ES and NQ from March 16 to August 21, 2026.
  • Costs: 0.62 points round trip on ES and 0.79 on NQ, on every trade.
  • Periods: for most studies, discovery January 2025 to May 2026, a confirm period from June 2026, and 2010–2024 as history.

The pipeline at a glance

Our strategy testing pipeline Eight steps: write the rules first; sweep wide on the explore block, the first 50% of days; keep plateaus that beat a matched random control; freeze ten rules or fewer; test once on the validate block, the next 25%; test once on the lockbox, the last 25%; re-score on real tick prints; forward-track on new data. From idea to "candidate": every gate a strategy has to pass 1 · Rules first written + committed before any number 2 · Sweep wide Explore block first 50% of days 3 · Keep plateaus neighbours agree + beats random control 4 · Freeze 10 rules or fewer no more tuning 5 · Validate once next 25% of days 6 · Lockbox once last 25%, unseen 7 · Tick re-score real prints, real costs 8 · Forward-track new days only still a "candidate" Steps 5 and 6 are each opened exactly once. A failure at any gate ends the rule; it is not tuned and re-tested.
The testing pipeline. Explore, validate and lockbox are consecutive date blocks, so a rule is always judged on days it was not built on.

The rest of this page goes through the ways backtests mislead, and which step above exists to catch each one.

Lie #1: 1-minute bars flatter tight stops

A 1-minute bar tells you the open, high, low and close. It does not tell you whether the high or the low came first. If your stop and target are both inside a typical 1-minute range, the backtest engine has to guess — and the usual guesses are kind to you.

We measured how much. An EMA19 pullback strategy on ES with a 24-tick stop and 80-tick target, replayed on 1-minute bars and then on real tick prints:

EMA19 strategy1-minute replayReal tick prints
ES, net ticks per trade+3.26−0.94
NQ, net ticks per trade+12.7−5.15

Same strategy, same days. A winner on 1-minute bars was a loser on prints. Our rule now: never accept a 1-minute result for a strategy whose stop or trail is within a few times the median 1-minute range — re-score it on prints first.

The same strategy had a second, quieter problem: the fill price. The replay filled each entry exactly at the moving average. In live trading the order goes in as a market order once price has crossed it, and live fills came in a median of 1 tick worse. Here is what each tick of honesty did to the result on ES, with 1.5 ticks of cost per trade:

Entry fill assumedTradesNet ticks per trade
Exactly at the moving average8,685+2.09
1 tick worse (the live median)8,781+0.96
2 ticks worse8,867−0.02

Most of the original edge was the fill. On micro contracts, where commission is a bigger share of a tick, the same strategy is about breakeven or worse.

Lie #2: the fill-bar rule decides the answer

The second worked example is candle range theory (CRT), a popular three-candle setup. On 1-minute data, the entry bar often also traded through the stop — and the bar can’t tell you which came first. Under a strict rule (count it as a loss), 1,594 of the 2,733 losing NQ trades were these fill-bar stops.

Switch to the common open-high-low-close path convention and the same cell flipped from badly negative to a positive holdout of +0.173 R on 638 trades. Exciting — and exactly the kind of result that has to be checked on prints, because the path rule is a convention, not data.

NQ CRT, first trade of day, same 106 sessionsStrict rulePath ruleReal tick prints
Direct entry, 1.5R stop−0.559 R+0.196 R+0.025 R
Win rate on prints45%

On real prints the lead was gone: the path rule had overstated it by about 0.17 R on the same trades, which takes the +0.173 holdout back to roughly zero. Neither convention was right — the strict rule over-counted losses (78 of 129 fill-bar “stops” were real), and the path rule agreed with prints on 96.9% of trades, but the 3% it got wrong were mostly flattering. The full CRT write-up is in does candle range theory work.

That is step 7 in the pipeline. It is the cheapest step to skip and the one that most often changes the answer.

Lie #3: no control

A strategy that wins 70% of the time sounds like it has an edge. But compared with what?

A control is the same trade with the reason taken out. For entries, it is a random entry in the same session, same direction, same stop and target distances. For levels, it is a random band of the same size nearby that nobody drew. If the strategy can’t beat that, the setup isn’t what’s doing the work.

Controls cut both ways, which is why they matter:

  • They expose fake edges. Fair value gaps hold about 70% of the time on ES — and a random band of the same height in a similar spot holds 71.8%. The 70% is real; the gap isn’t causing it. More in do fair value gaps work and do support and resistance levels work.
  • They expose real information inside losing strategies. The ICT 2022 model lost in all 48 of our pre-registered cells after costs — yet it beat a random-entry control by +0.171 R, with z = 2.85. The location carried information; the entry and exit around it didn’t pay. Without the control, “it loses” would be the whole story, and it would be the wrong one.
  • They flag broken tests. In the CRT backtest the strategy scored a z of −12 against its control — far too extreme to be the market. It was the fill-bar rule, which hit the strategy’s entries but not the control’s.

A control also has to be clean. We threw out an entire first pass of a chart-level study because the random comparison lines kept landing on other real levels on a crowded chart — the “random” behaved like a level and erased the difference. It is marked suspect and nothing was concluded from it.

Lie #4: testing hundreds of things and reporting the best

Test enough settings and some will look great by pure chance. At the usual 5% threshold, about 5% of tests “work” on noise alone.

Two examples from our own grids:

  • A pre-registered 1,500-cell grid of stacked-imbalance settings produced 404 testable cells. 11 of them hit p < 0.05 — where chance alone would give about 20. After correction: zero survivors.
  • A box-edge fade sweep of about 1,900 cells had 19 with a confidence band above zero — fewer than the roughly 5% chance alone produces.

Both grids would have produced a “winning” setting to post on social media. Neither had anything in it.

So we correct for multiple testing (Benjamini–Hochberg across every test in a study), and we count and report how many cells were tried. A feature typically survives only if it passes the correction, moves the result by a meaningful amount, and has the same sign on both ES and NQ and in the later confirm months. And an automated search that throws up a striking cell — one recent one claimed +23 points on 286 events — is labelled a lead that needs its own pre-registered test, not a finding.

Lie #5: tuning on the data you score on

If you adjust a strategy until the backtest looks good, the backtest now describes your adjustments. This is overfitting, and walk-forward testing is the standard fix: tune on earlier data, score on later data.

We do it in three blocks. Sweep a wide range of settings on an Explore block (the first 50% of days). Promote only plateaus — settings whose neighbours also work and that beat a matched control — not isolated peaks. Freeze ten rules or fewer. Then test each once on Validate (the next 25%) and once on a Lockbox (the last 25%). In one study the plateau rule meant at least 60% of neighbouring cells had to be positive.

Here’s why the lockbox exists. Our box-break study tried about 74,000 cells and froze ten rules that looked strong on Explore. Nine of the ten failed by the lockbox.

Frozen rule (example)ExploreValidateLockbox
NQ 10m London, tight stop, expected-move target+0.80 R+0.35 R−0.10 R
ES 3m NY, tight stop, hold+0.44 R+0.34 R−0.15 R
NQ 15m London, wide stop, next liquidity target+0.22 R+0.04 R+0.05 R (thin)

Two of those passed validation and still failed the lockbox. Without a period held back until the very end, they would have been published as edges. The one that survived is called a candidate and tracked forward on new days — never called an edge on this evidence.

Lie #6: free trades

A backtest without costs is a different strategy. Costs hurt most when stops are small, because a fixed cost is a bigger share of each R.

CRT shows it cleanly. ES’s median 1.5R stop was about 2 points, so the round-trip cost ate around 0.3 R per trade. NQ’s recent stops were 13–24 points, so its cost was about 0.04 R. Same pattern, same price path — and ES could never pay its costs at that stop size.

Costs are also why a high win rate can be worthless. A box-break trade with a small fixed target won 75% of the time on ES and 73% on NQ, and netted roughly zero R. The hit rate was real. The move left over after costs and the losers was too small.

What we didn’t test (and what this method can’t do)

  • Tick re-checks cover months, not years. Our tick prints run from March to August 2026, so the step-7 re-score can only cover that window. A strategy is re-scored on prints where they exist; older years stay on 1-minute bars.
  • Order-book effects. Queue position on limit orders and partial fills aren’t modelled. A limit “filled” in a backtest may not have filled live.
  • Continuous contracts. Back-adjusted data joins contracts together. Roll weeks can distort levels that span two contracts, which is why some studies drop them.
  • Discretion. We test rules. A trader’s judgment about when to stand aside isn’t something a backtest captures, in either direction.
  • The future. A rule that survives the lockbox is a candidate. Forward days on new data are the only thing that turns it into more than that.

Keep Learning

Every study on this site uses the method above:

Common Questions

How do you avoid overfitting in backtesting?

Test a wide range of settings on one block of data, keep only settings whose neighbours also work (a plateau, not a single peak), freeze a short list, then test each once on a later block you have not looked at. Count every combination you tried and correct for it, and compare every result with a random control.

What is the difference between walk forward and a normal backtest?

A normal backtest tunes and scores a strategy on the same data, which flatters it. Walk-forward testing tunes on earlier data and scores on later data the strategy has never seen. We go one step further and keep a final lockbox period that is opened only once, after everything is frozen.

Is tick data better than 1-minute data for backtesting?

For strategies whose stop or target is close to the size of a 1-minute bar, yes. A 1-minute bar does not say whether its high or low came first. On ES an EMA strategy read +3.26 ticks per trade on 1-minute bars and −0.94 on real tick prints.

Why do backtests fail in live trading?

The most common reasons we have measured are optimistic fills, intrabar assumptions on 1-minute bars, costs left out, and picking the best of many tested settings without correcting for it. Each of these turned a positive-looking backtest into a breakeven or losing one in our own studies.

What is a control in a trading backtest?

A control is the same trade with the reason removed: a random entry in the same session, same direction, same stop and target distances. If the strategy cannot beat a random entry built like that, the setup is not what is making or losing the money.