Designing a Backtest That Can Actually Falsify Your Idea

Designing a Backtest That Can Actually Falsify Your Idea

Most backtests are run to prove an idea right, and a test designed to agree with you always will. This article sets out a test design — hypothesis, fixed rules, cost assumptions and failure criteria, all written down before the first run — in which a bad idea can actually fail. By the end, you will have a one-page test card you complete before testing any strategy, and a clear rule for what happens when the result says no.

Key points

  • A backtest is useful only if it can fail. Decide in advance what result would make you abandon the idea, and write that number down.
  • Fix the hypothesis, the rules, the symbols, the period and the costs before running anything. Every choice made after seeing a result is a hidden extra test.
  • State a mechanism where you honestly can — who is on the other side of the trade, and why their behaviour should persist. A precisely specified pattern can be tested without one, but its results carry a weaker interpretation.
  • Judge the run on criteria set in advance: expectancy after costs, the number of trades, and where the profit is concentrated — not on the prettiest equity curve.
  • A falsified idea is a successful test. It cost you a spreadsheet instead of a live account.

Start trading with Exness

You can open an account here:

In plain words

A backtest only tells you something if it is allowed to say “no” — so before you run anything, you write down on one card what you expect to happen, the exact rules, the symbols and dates, the costs you will charge, and the numbers that would make you drop the idea. In the worked example the card covers EURUSD and GBPUSD on M15 from 1 January 2021 to 31 December 2024, a fixed 0.10 lot per trade, a slippage allowance of 0.3 pip per side, and failure if the result after costs is zero or worse on either symbol, if the two symbols together produce fewer than 150 trades, or if any single month contributes more than 40% of the total net profit. If you then spot something tempting in the results and change a rule, that is a brand-new idea with a brand-new card, judged on data the change was not invented from — because an idea revised five times against the same five years has never actually been tested independently. A test that kills a bad idea is a success: it cost a spreadsheet instead of a live account.

1. The confirmation machine

A typical testing session works like this. You run the idea, dislike the drawdown, adjust a filter, run it again, extend the period, remove the worst month, and stop when the curve looks good. Every step felt reasonable. The problem is the stopping rule: you stopped when the result pleased you.

That process cannot produce evidence, because it has only one possible conclusion. However the session ends, the idea “works”. The market was never given a chance to say no — and a test the market cannot fail may instead be failed live, at full price.

2. Start with a mechanism, not a pattern

A pattern is something you noticed: “price often bounces at the Asian session low.” A mechanism is a reason it should keep happening: “stop orders cluster below an obvious low, and the flow that hunts them is a recurring feature of how leveraged positions are managed.” The second statement can be wrong — and that is exactly what makes it useful, because it tells you what the test must show.

A mechanism does three jobs in a test design:

  • It defines the universe — the symbols, sessions and conditions where the effect should appear, and where it should not.
  • It predicts a shape — for example, the effect should be stronger on high-volume days, or absent on holidays. A test can check the shape, not just the total.
  • It disciplines a bad result — a failure can come from the mechanism, the rules, the implementation, the data, the costs, or a sample too small to tell. The result alone cannot isolate which; it can only send you to investigate, and any revision that investigation produces is a new hypothesis, not a repair of the old verdict.

If you cannot state a mechanism, that does not forbid testing: a precisely specified empirical pattern is falsifiable without one. It does demote the interpretation — treat anything you find as exploration, one grade weaker than evidence, until it has also survived validation on data the discovery never touched, and say so in your notes.

3. The test card: what gets fixed before the run

Before the tester opens, complete a card with the following fields. The card is short on purpose — if a field cannot be filled in, the test is not designed yet.

FieldWhat you writeWhy it is fixed in advance
HypothesisOne sentence stating the predicted effect and, where available, its proposed mechanismPrevents the goalposts from moving after the result
RulesEntry, exit, size and filters, in mechanical form“Roughly a breakout” cannot be tested; a rule can
UniverseSymbols, timeframe, sessions includedStops silent selection of the kindest market
PeriodStart and end dates, chosen before runningStops extending or trimming the period to flatter the curve
Data and costsTick source, spread / commission / swap / slippage assumptionsCosts chosen after seeing the result are chosen with the answer known, which biases them in the flattering direction (Article 5)
CriteriaThe pass and fail numbers from section 4The decision rule must exist before the decision
Trade count floorThe minimum number of trades for the result to count at allAverages over a dozen trades carry uncertainty too wide to judge by

Keep the card with the results. A result without its card is a number without a question — nobody, including you in six months, can tell what it was supposed to prove.

4. Failure criteria: deciding what “no” looks like

Pass criteria are usually some version of “profitable”. That is too weak, because random strategies are profitable on some sample fairly often. Write failure criteria that can reject some weak or lucky results:

  • Expectancy after costs at or below zero — the idea does not pay for its own trading. Fail.
  • Fewer trades than the floor — the sample cannot support a conclusion either way. Not a pass; a non-result.
  • Profit concentrated in one slice — if most of the gain comes from one month, one symbol or a handful of trades, treat the result as an episode, not an established effect. Fail it against this criterion, or record an exploratory re-test with the episode excluded alongside the full-sample result — never instead of it.
  • Drawdown beyond the pre-set limit — a profitable idea you cannot sit through is not a usable idea. The limit belongs on the card, not in your feelings afterwards.

Note what these criteria share: each is checkable by someone else, from the card and the report alone. That is the standard the site’s own forecast reviews use — rules published in advance, every case reported, misses included.

5. One change, one new test

Sooner or later a run will show you something tempting: “it only fails when volatility is low — add a volatility filter.” That observation may be gold. It is also a new hypothesis, born from looking at the results, and it inherits none of the original test’s honesty.

The discipline is bookkeeping, not willpower:

  1. Close the current test and record its verdict against its own card.
  2. Write a new card for the revised idea, noting that the revision came from the previous run’s data.
  3. Judge the revision preferentially on data the revision process has not seen — a later period, or the hold-out discipline covered in Article 3.

A strategy that has been revised five times against the same five years has never had an independent confirmatory test, however many reports it has generated: the data has been spent on selection, and can no longer grade the result. Counting your tests honestly is most of what separates verification from decoration.

6. Example: a breakout idea, on the card

The panel below shows a completed card for a simple idea. The numbers are illustrative — they are the shape of a decision, not a recommendation.

Example — test card (illustrative)

  • Hypothesis: Breaks of the Asian session range during the London open continue more often than they reverse, because session-transition order flow is one-directional in the first hour. Effect should be absent on days with a major release in the first hour.
  • Rules: Buy a close above the Asian high (or sell a close below the low) between 07:00 and 08:00 GMT; stop at the range midpoint; target at one range-height; one trade per day maximum; flat by 12:00 GMT.
  • Universe / period: EURUSD and GBPUSD, M15, 1 January 2021 – 31 December 2024.
  • Costs: Recorded spreads from real ticks; commission per the account type; slippage allowance of 0.3 pip per side (Article 5).
  • Size: Fixed 0.10 lot per trade, unchanged across the test, so results are comparable trade to trade.
  • Mechanism check: Trades on days with a major release in the first hour are reported as a separate subset. The hypothesis predicts the effect is absent there; if it is as strong there as on other days, the mechanism as stated is not supported.
  • Criteria: Fail if net expectancy ≤ 0 on either symbol, if total trades across both symbols < 150, or if any single month contributes more than 40% of total net profit.
  • Execution assumptions: Entry at the open of the bar after the signal close; all times GMT, one time convention throughout; at most one open trade per symbol, so signals cannot overlap; positions are flat by 12:00 GMT, so no position crosses rollover and no swap is charged.

Run once, this card produces a verdict you can act on. Run the same idea without the card, and the same afternoon produces a story you can adjust until it agrees with you.


Summary — what to take away

  • Design the test so the idea can fail: hypothesis, rules, universe, period, costs and criteria fixed in writing before the run.
  • A mechanism — who is on the other side, and why — strengthens a test and disciplines its interpretation; a prespecified pattern without one can still be tested, as exploration.
  • Judge on pre-set criteria: expectancy after costs, trade count, and concentration of profit. Preset criteria can reject some weak results, but a lucky run may still pass them — independent validation remains necessary.
  • Every revision is a new test with a new card. Revisions judged on the same data they were invented from prove nothing.

Next reads

Overfitting: How Curve-Fitting Hides in Reasonable Choices — the failure mode this design defends against.

Walk-Forward Analysis: Rolling Windows in Practice — the structural way to keep selection honest.

FAQ

Q: Is a profitable backtest proof that a strategy works?
A: No. It reports a hypothetical historical result under the implementation, data and cost assumptions used; data errors, coding errors and fill assumptions remain possible, and it does not establish that the result was attainable or that it predicts anything. Whether it is even evidence about the future depends on how the test was designed — which is the subject of this article.

Q: How long a period should I test?
A: Long enough to contain the minimum number of trades on your card, across more than one kind of market condition. Calendar length is a means; trade count and variety of conditions are the criteria.

Q: I found a bug halfway through testing. Can I fix it and continue?
A: Fix it — and restart the test. A bug fix changes the rules being tested, so earlier runs belong to a different strategy. Record the fix on a new card.

Q: What if the result is mixed — profitable on one symbol, losing on another?
A: Read it against the card. If the criteria required both symbols to pass, the verdict is fail; the profitable symbol is a new observation, and testing it alone is a new test, not a rescue of this one.

Q: Should the criteria include a drawdown limit?
A: Yes. Expectancy alone ignores the path. A pre-set maximum drawdown — judged against the distribution methods in Article 4, not just the single backtest path — keeps “profitable but unusable” from passing.

Sources: R. Pardo, “The Evaluation and Optimization of Trading Strategies”, 2nd edition (Wiley, 2008) — test design, optimisation and walk-forward method. MetaQuotes, MetaTrader 5 official help — Strategy Tester. Checked: 21 November 2026.

This article is information only and is not investment advice. Forex and CFD trading involves a substantial risk of loss, including the possibility of losing more than you deposited with some account types and jurisdictions. Backtested results are hypothetical, are calculated under stated assumptions, and do not guarantee or predict future performance. Make sure you fully understand how leveraged products work before you consider trading with real money.

Disclosure: Broker Cost Check is reader-supported. If you open an account through a partner link on this page and trade, Exness pays us a share of the revenue from your trading activity under its partner programme. You pay us nothing: our payment comes from Exness, out of that revenue. How we make money: How Broker Cost Check works — method and how we make money


Comments

2 responses to “Designing a Backtest That Can Actually Falsify Your Idea”

  1. […] Designing a Backtest That Can Actually Falsify Your Idea — where these assumptions are written down before the run. […]

  2. […] Designing a Backtest That Can Actually Falsify Your Idea — the test card that makes trials countable. […]

Leave a Reply