How to Backtest a Trading Strategy in One Afternoon (The Manual Method Nobody Teaches)

How to Backtest a Trading Strategy in One Afternoon (The Manual Method Nobody Teaches)

25 August 2026, 12:00
Diego Arribas Lopez
0
34

Most traders never backtest their strategy. Of the ones who do, most do it in a way that quietly lies to them. They scroll back on a chart, "see" their setups working in hindsight, count the winners, forgive the losers, and walk away with confidence they have not earned. Then live trading grades the exam, and live trading grades hard.

This post is the antidote: a complete manual backtesting protocol you can run in one afternoon, the metrics that actually matter, the self-deceptions to guard against, and where software fits in. If you have a strategy you have been "meaning to test" for months, block four hours this week and run this.

Why manual backtesting, when the strategy tester exists?

Fair question, since MetaTrader ships with a strategy tester. The answer: they test different things.

The strategy tester is for code. If your system is fully mechanical and written as an EA, automate the test, no argument. But most real-world strategies, and almost everything in the smart money / price action world, involve discretion: is this displacement impulsive enough, does this zone qualify, is the structure shift clean? You cannot code "I know it when I see it", which means you cannot machine-test it either.

Manual replay testing solves a different problem, and it solves two at once:

  • Validation: does the strategy, with YOUR eyes making the calls, produce positive expectancy over a meaningful sample?
  • Reps: every replayed setup is a repetition your pattern recognition banks. A trader who replays six months of charts has seen more of their setup than a live trader sees in a year, at zero cost. This second benefit is arguably worth more than the first.

The one-afternoon protocol

Step 1: Write the rules down first (30 minutes)

Before touching a chart, write a one-page rules document: what qualifies as a setup (be brutal about specifics), the entry trigger, stop placement, target logic, risk per trade. If you cannot write it down, you do not have a strategy, you have a mood. The document matters because in step 3 you will be tempted to bend the rules, and the page is what you bend them against.

One line at the bottom, non-negotiable: "I take EVERY setup that meets these rules, and no setup that does not."

Step 2: Pick your data window, blind (10 minutes)

Choose the instrument and a 6-month window you have NOT recently studied. Not the last six months if you have been watching that chart live; your memory of "what happened next" contaminates everything. Go back further, or pick a pair you follow less. The point of replay is that future candles are genuinely unknown to you.

Step 3: Replay, and take every trade (2-3 hours)

Now replay the window candle by candle at speed, slowing down when price approaches areas of interest. When a setup per your rules appears: log it, place the trade with the stop and target your rules dictate, and let the replay decide. The discipline points that separate a real test from theater:

  • No peeking. Decide, then advance. If you catch yourself scrolling forward "just to check" before committing, the test is dead; restart the window.
  • Log the skips too. When you see something tempting that does NOT meet the rules, note it. Later you will learn as much from the almost-setups as from the trades.
  • Do not stop after a streak. Five losers in a row makes you want to quit the test and "fix" the strategy. Finish the window first. The streak IS the data.

Step 4: Compute the four numbers that matter (20 minutes)

From your log, calculate:

  • Win rate: winners divided by total trades. Alone it means nothing, which is why it comes paired with...
  • Average reward-to-risk: average winner size divided by average loser size, in R terms.
  • Expectancy: (win rate × average win) minus (loss rate × average loss). This single number answers the only question that matters: does a trade from this system, on average, make money? A system with 40% win rate and 2.5R winners has positive expectancy; a system with 70% win rate and 0.4R winners is a slow bleed with good vibes.
  • Maximum consecutive losses: the longest red streak in the sample. This is your psychological stress test. If the sample produced seven straight losses, live trading will eventually produce more, and you need to know your risk-per-trade survives it: seven losses at 2% is a 13% hole; at 0.5% it is a bad week.

Minimum sample before any of this means anything: 30 trades. Under that, you have anecdotes. If the window gave you fewer, extend the window; do not lower the bar.

Step 5: Apply the decision gates (10 minutes)

Three outcomes, decided by the numbers, not the feelings:

  • Negative expectancy: the strategy as written does not work. Do not "optimize" it tonight by adding a filter that conveniently removes the losers you just watched; that is curve fitting by hand. Diagnose ONE structural issue, change ONE rule, and rerun on a DIFFERENT window.
  • Positive but thin: promising. Run a second window (different market regime if possible: if window one trended, pick a rangier period) before you believe it.
  • Positive and robust across two windows: graduate it to forward testing on demo or minimum size. Manual backtest, then forward test, then money. Skipping steps does not accelerate the process, it just moves the tuition payment to a more expensive school.

The self-deceptions to guard against

Manual testing has one structural weakness: the tester is human. Four failure modes account for most corrupted results:

  • Hindsight contamination: testing on data you remember. Covered above; choose blind windows.
  • The mercy skip: "that setup was technically valid but it obviously would have lost, so I did not count it." If it met the rules, it counts. Obviously-losing valid setups are precisely the information you are paying for.
  • The retroactive rule: halfway through, you notice a filter that would remove three losers and start applying it. Now half your sample used rules A and half used rules B, and the blend describes no strategy that exists. Note the idea, finish the test as written, test the new rule on a fresh window.
  • The timeframe safari: when H1 does not confirm your bias, checking M15, then M5, until something agrees. Decide your execution timeframe in the rules document and stay on it.

Where the software comes in

Everything above can technically be done by scrolling charts with the F12 key and a spreadsheet. People try. It usually dies for mundane reasons: advancing candle by candle across weeks of data is numbingly slow, managing simulated positions by hand is error-prone, and the friction kills the habit before the sample size gets meaningful.

The Backtesting Simulator for MT5 (MT4 version here) is my tool for exactly this workflow, and it removes the friction points one by one:

  • Speed control: fast-forward through the dead zones, slow to a crawl when price approaches your levels. The afternoon protocol is only an afternoon because of this; at natural speed it would be six months.
  • Time jumps: click, jump to the next session, repeat. You spend your attention only where setups can exist.
  • Realistic order simulation: entries, stops, targets managed like live positions, so your log reflects execution, not intention.
  • Multi-chart mode: test across several instruments and timeframes in the same session, the way you actually trade.
  • Your broker's data: it replays the historical data from your own broker, so the spreads and price behavior you test against are the ones you will trade against.

It is $149, it has a free demo you can evaluate in the strategy tester first, and it has earned its keep in my catalog for years: it is consistently the tool that keeps selling quietly without hype, because backtesting never goes out of season. Fair warning from the listing, repeated here: the tester interface can lag visually on some machines; it is cosmetic and does not affect the simulation itself.

The honest close

A backtest, manual or automated, proves the past, not the future. What the afternoon protocol buys you is cheaper failure: strategies that were never going to work get exposed in four hours instead of four months, and the ones that survive arrive at live trading with rules you actually trust because you watched them earn it. That trust is what keeps you executing through drawdown, and execution through drawdown is where the real money has always been.

Four hours, thirty trades, four numbers, three gates. Your strategy either survives the afternoon or it was never going to survive the market.

I publish breakdowns like this regularly. If you want them by email, the newsletter is at doittrading.com/newsletter.

Trading involves substantial risk of loss. Past performance does not guarantee future results.