The Method The Hub FAQ Join the Room
Strategies & Setups

How to Backtest a Setup by Hand in a Weekend

A night desk with a hand-ruled paper ledger, pencil, brass magnifying glass and a stack of printed candlestick chart pages being flipped through

To backtest a setup by hand, write the rule so precisely that a stranger could apply it, pick a sample of days you have not already studied, step through them in bar replay without seeing ahead, and log every occurrence — win or lose. Around 100 trades is a realistic weekend target.

A manual backtest will not tell you that a strategy works. Nothing you can do in two days will tell you that. What it will do, cheaply and reliably, is tell you when an idea is broken — and most trading ideas are broken, which makes a filter that costs one weekend rather than six months of live money an extremely good trade in its own right.

Step 1 — Write the rule so a stranger could follow it

This is the step people skip, and skipping it is why most manual backtests are worthless. “Buy the pullback in an uptrend” is not testable. A rule is testable when two people applying it to the same chart would place the same order at the same price.

Every rule needs five things written down before you open a chart:

If you cannot write those five, you do not have a setup yet — you have an impression. Turning an impression into something with rules is the same work described in trading strategies explained, and doing it properly is most of the value of the whole exercise.

Step 2 — Choose a sample you have not already memorised

Do not test on last week. You already know what last week did, and that knowledge will leak into every decision you make no matter how honest you intend to be.

Pick a contiguous block of history, far enough back that you do not remember it, and deliberately include conditions you dislike: a choppy stretch, a low-volatility month, a period around a major event. A sample made only of clean trending days will tell you that your trend-following setup is excellent, which you already believed. Also note the dates of the block before you start, and write them down, so you cannot quietly shorten the sample later when the results disappoint you.

Step 3 — Use bar replay, and do not peek

Any charting platform with a bar replay function works; the tool matters far less than the discipline. The single rule is that when you make a decision, the bars after that decision must not be visible. A test where you can already see the outcome measures your hindsight, not your setup.

Practical mechanics that keep it honest:

  1. Advance one bar at a time through the session, in the same timeframe you would actually trade.
  2. When the trigger fires, log the trade before advancing — entry, stop and target all written down first.
  3. Advance until the stop or target is hit, then record the result and move on. No second-guessing, no “I would have exited earlier”.
  4. Log the trades you skipped and why. The skips are where you will catch yourself applying a rule that is not actually written down.
  5. Assume a realistic cost on every trade. Deduct the spread and commission, and add a little for slippage on stops. A backtest run at perfect fills flatters every strategy, and flatters scalping strategies most.

Step 4 — The eight fields worth logging

FieldWhy it earns its place
Date & time of entryReveals whether the edge lives in one part of the session
DirectionMany setups only work on one side
Entry, stop, target (prices)Lets you recompute results later without redoing the test
Planned R (reward ÷ risk)The comparable unit across instruments and sizes
Outcome in RRemoves position size from the measurement entirely
Maximum adverse excursionHow far it went against you before working — tells you if the stop is right
Day typeSeparates trend days from ranges, which usually explains everything
Rule followed? Y/NCatches the trades that quietly were not the setup

Measuring outcomes in R rather than dollars is the detail that makes the whole log useful, because it lets a hundred rows from different weeks be compared directly. It is the same discipline a live trading journal runs on, which is convenient: the backtest log and the journal can use identical columns, and then the live results slot straight in underneath the tested ones.

Step 5 — Read the numbers, carefully

With roughly a hundred rows you can compute the only three numbers that matter: win rate, average win in R, average loss in R. Combine them into expectancy — the average R you make per trade. A positive expectancy before costs and a negative one after is the most common result, and it is a real answer, not a failed test.

Then look past the average. Sort the log by outcome and check whether the entire result rests on two or three exceptional trades; if it does, you have a strategy that depends on catching rare events, which is legitimate but demands a completely different tolerance for losing streaks. Check the worst run of consecutive losses, because that number is what you will actually have to sit through, and compare it honestly against your daily loss limits.

The trap: tuning the rules after you see the results

Here is where most weekend backtests quietly destroy their own findings. The results come back mediocre, so you try a slightly wider stop. Then a different session filter. Then skipping Mondays. Each change is individually reasonable, and collectively they fit the strategy to the noise in your particular sample.

The academic term is backtest overfitting, and the striking part is how few attempts it takes. An analysis published in the Notices of the American Mathematical Society observes that for a model based on five years of data, an analyst can be misled by looking at as few as 45 sample configurations (Bailey, Borwein, López de Prado & Zhu, “Pseudo-Mathematics and Financial Charlatanism: The Effects of Backtest Overfitting on Out-of-Sample Performance”, Notices of the AMS vol. 61 no. 5, May 2014). Forty-five variations is an afternoon of fiddling with a stop distance.

The defences are unglamorous and they work. Decide the rule before you test it. Count your variations and keep the count visible. Hold back a portion of your sample and do not look at it until you have finished tuning — then run the final rule on that untouched block once. If the result collapses, the edge was in the fitting, not in the market.

The Generational Wealth way. A backtest is only worth running on a rule specific enough to be wrong, which is why our three principles are written as mechanics rather than sentiments. Break & hold gives a testable trigger: did the candle close beyond the level, or not. Know your next gives a target you can log rather than a feeling about upside. And trail & protect gives a management rule you can replay identically on every trade. A setup you cannot test by hand is usually a setup you have not finished defining. See the method →

What a weekend backtest cannot tell you

Be clear about the limits, because overclaiming here is how people end up trading size on a hundred rows of spreadsheet.

Which is why the backtest is a first gate, not a verdict. A rule that survives it goes into the written plan and then into small live size — the sequence laid out in how to build a trading plan — where it keeps collecting data under conditions the spreadsheet could never simulate.

Frequently Asked Questions

How many trades do you need in a manual backtest?

Around 100 occurrences of the same setup is a workable target for a weekend, and it is enough to see whether the idea is obviously broken. It is not enough to prove an edge. Treat 100 trades as a filter that kills bad ideas cheaply, not as evidence that a surviving idea works, and keep collecting after you go live.

Is manual backtesting better than automated backtesting?

It is slower and covers far less data, but it has one real advantage: you see every trade. You notice the context a script would flatten into a row, and you learn what the setup looks like while it is forming. Automated testing covers more ground and removes human inconsistency, so the honest answer is that they do different jobs.

What is backtest overfitting?

Overfitting is tuning a strategy until it fits the quirks of the sample you tested on rather than anything that repeats. It is easier to do than most people assume: one published analysis notes that with a model based on five years of data, an analyst can be misled by looking at as few as 45 sample configurations. Every time you adjust a rule after seeing results, you are spending a trial.

Can you backtest a setup on a free charting platform?

Yes. Any platform with a bar replay feature will do, and a spreadsheet handles the log. The constraint on a manual backtest is your attention, not your software. What matters far more than the tool is that you cannot see the bars ahead of the one you are deciding on, because a test where you already know the outcome measures nothing.

Bottom line

A weekend of bar replay will not hand you a proven strategy, and anyone offering you one is describing something else. What it does is force a vague idea into a rule with five defined parts, show you a hundred examples of how that rule behaves when the outcome is genuinely unknown, and produce a small table of numbers you can argue with. Most ideas die at that table, which is the point — they die for the cost of a weekend instead of a funded account. Guard the result by deciding the rules first, counting your variations, and keeping an untouched block of history to check the final version against once.

Most ideas die at the table. Better there than live.

The Hub stays free. When you want levels, targets and invalidation called in real time, the room is one click away.

Join the Room