Not every strategy can be coded. If your setup depends on reading price action, structure, or a level you draw by eye, an automated backtest cannot judge it. Manual backtesting can: you go back in time, move through the chart one candle at a time as if it were live, and record what you would have done.
Done well, it gives you statistics and practice. Done badly, it gives you a pretty equity curve built on hindsight. This guide shows the careful way.
Why test by hand
- It works for discretionary setups. Anything you can describe in rules, even visual ones.
- It trains the eye. You see the setup form hundreds of times in an afternoon, something live trading would need months to offer.
- It shows how the trade feels, not only how it ended: the pullback after entry, the stop that almost got hit.
- It is free. Past data is easy to find.
Its weak points are speed, and honesty: nobody is checking that you really did not peek at the next candle. The steps below are designed to close that hole.
1. Write the strategy as rules
If you cannot write it down, you cannot test it. One page, covering:
- Market and timeframe (for example, NQ on the 5-minute chart).
- Session (for example, New York open, first two hours).
- Setup conditions: what must be true before an entry is allowed.
- Entry trigger: the exact event, such as a close above a level.
- Stop: where, and by what rule.
- Exit: fixed target in R, trailing, or a time exit.
- Risk per trade: for example, 1% of the account.
A tool to build this page is the trading playbook.
2. Choose the data and the window
Pick a period that includes trending and ranging, quiet and volatile stretches, and at least one hard period for your style. Decide the number of trades you want (aim for 100 per setup, see how many trades a valid backtest needs) and write it down before you start.
3. Hide the future
This is the step that makes the test honest. Use a tool that shows candles only up to the "current" bar: a replay mode, a backtest session, or even a sheet of paper over the right side of a chart. Never scroll ahead to see how it turned out, not even once; one peek spoils the sample, and you cannot unsee it.
4. Trade it as if it were real
For each candle, ask the only question that matters: do the rules say to enter now? If yes, place the order with the stop and target your rules give you. If the rules are not clear about a situation, do not invent a rule on the spot: note the situation, skip, and update the rules afterward.
Honesty rules:
- Take every valid trade. If you skip the ones that "look bad", you test a different strategy.
- Do not take invalid trades. A trade that only works because of hindsight does not count.
- Use realistic costs. Include spread, slippage and commission on every trade.
- Do not move the stop to save a trade in the test. You will not be allowed to do it live either.
5. Log every trade
For each trade record: date and time, direction, entry, stop, exit, result in R, the setup name and a one-line note. A spreadsheet works. A session in SetupBook logs trades automatically, with the stats computed as you go.
A template in plain columns:
6. Read the numbers
After you reach your target, and not before, calculate:
- Number of trades, win rate and average win and loss.
- Expectancy in R, the average per trade after costs.
- Profit factor.
- Maximum drawdown and the longest losing streak.
- The same figures by hour or session, and by direction.
If this is new, read win rate, profit factor, expectancy and R-multiple.
7. Decide, then forward test
Three possible verdicts: the setup is positive and robust (go forward test at small size), unclear (collect more trades), or negative (drop or rewrite it, then start a fresh sample, not the same one). Do not adjust the rules over the same data until it passes; that is overfitting. See why live results differ from the backtest.
Common mistakes in manual backtesting
- Peeking. Seeing candles that have not "happened" yet.
- Choosing only the memorable setups. Scrolling to find the pretty ones rather than stepping through every candle.
- Hindsight rules. Writing a rule that only fits what you now know.
- Ignoring costs. The most common reason a backtest looks too good.
- Stopping at 20 trades. See the sample size guide.
- Testing the same data repeatedly with small changes until something passes.
What SetupBook adds
Beyond hiding the future, a session lets you set the spread, slippage and commission once, move the stop and the target, close half a position, link two waiting orders (OCO), draw positions on the chart and size a trade by a risk percentage from the stop. The Stats tab shows win rate, expectancy, profit factor, net, max drawdown and the equity line, then splits them by hour, by setup and by mistake. A "Rewound" mark flags trades made after stepping back, so the stats can leave them out.
Frequently asked questions
Is manual backtesting accurate?
As accurate as your honesty. If you hide the future, take every valid trade and include costs, it is a good estimate. If you peek or cherry-pick, it is fiction.
How long does a manual backtest take?
A hundred trades usually takes a few sessions. Practising a setup is part of the value, so the time is not wasted.
Can I do it on TradingView's bar replay?
Yes, and many traders do. What it lacks is automatic order handling, costs and statistics, so you log trades by hand. A dedicated backtest session handles those parts for you.
Should I backtest by hand or with code?
If the rules are fully mechanical, code is faster. If they involve judgement, manual is the only option. Many traders do both.