Manual backtesting: the method, the number of trades and the traps to avoid

How to backtest a strategy by hand on TradingView: rules, number of trades, costs, the biases that skew the result, and comparing it with live trading.

By Ricardo · Founder of ProTradingLabs6 min read

Before risking money on a strategy, you need to know whether it worked in the past. A manual backtest is the most accessible way to check: no coding needed, a chart and a journal are enough.

It is also the easiest way to fool yourself. Here is the method, the number of trades you need, and the traps that make a backtest look too good.

What a manual backtest is

A backtest replays a strategy on past data. An automated backtest goes through code: a TradingView script or a MetaTrader robot applies the rules to years of data in a few seconds. A manual backtest is done by hand: you scroll the chart candle by candle, for example with TradingView's Replay mode, and note every trade your rules would have taken.

Benjamin Deleuze, trader, mentor and partner of ProTradingLabs, describes it this way in his March 2026 course:

The manual backtest […]. You open your TradingView platform. You find the opportunity that matches your strategy's plan, with very precise criteria. You take the screenshot, you put it in a trading journal, you do that over 100, 200, 300 […] 1,000 trades. You look at whether the strategy was profitable, yes or no.

He adds that it is the backtest that is "the least precise, the one that can bring the most errors". All the more reason to do it methodically.

Before starting: write the rules

A backtest only tests written rules. If a decision is made "by feel", it cannot be tested: you will make it differently on the past chart and live.

Write down, before opening the chart:

  1. The market and the timeframe. For example EURUSD on the 1-hour chart.

  2. The entry conditions. What must be true, box by box, to take the trade. Does the candle close count?

  3. The stop and the target. Where they go, and whether they move during the trade (break-even, trailing stop).

  4. The hours. The hours and days the strategy trades, in a specific time zone.

  5. The risk. A fixed risk per trade: every trade is recorded in R, the result divided by that risk.

It is the same work as a trading plan: the backtest's checklist will become the live trading one.

During the test: one trade at a time

  • Do not look ahead. Hide the right side of the chart, and move forward one candle at a time. A trade decided while seeing where price went is not a trade, it is a memory.
  • Record every trade. Including the ones that look bad at entry and the ones that end badly. Skipping a "doubtful" case is the most common bias, and it always makes the result better.
  • Settle borderline cases with the rule. If the rule does not let you decide, it is the rule that needs sharpening, before going on.
  • Count the costs. Spread, commission, and swap for trades held overnight. On a strategy aiming for 1 R, a few hundredths of an R per trade change the conclusion.
  • Keep one screenshot per trade. It will let you check later that the rule was really followed.

How many trades to conclude

A 30-trade backtest says almost nothing. If your strategy's true win rate is 40%, here is where it can show up by pure chance, 95% of the time:

Number of tradesDisplayed win rate for a true 40%
30from 22.5% to 57.5%
50from 26.4% to 53.6%
100from 30.4% to 49.6%
200from 33.2% to 46.8%
500from 35.7% to 44.3%

Aim for at least 100 trades, preferably 200. And also look at the test's longest losing streak and worst drawdown: they will tell you which risk per trade you can take (losing streaks in numbers).

Test several markets, not a single period

The number of trades is not enough: you also need different market conditions. A buying strategy tested over a strong rally will look excellent, partly thanks to the market.

Our own data shows it on gold: buying brought +0.40 R per trade in 2025, during the big rally, and is at break-even in 2026 (gold or forex). Test your strategy over at least one rising period, one falling and one without direction.

The traps that make a backtest look too good

TrapWhat happensHow to avoid it
Looking aheadThe decision is made knowing the outcomeHide the right of the chart, move candle by candle
Skipping doubtful casesLosing trades disappearRecord every case where the rule applies
Forgetting costsThe result is overstated, especially with small targetsSubtract spread, commission and swap from each trade
Adjusting rules along the wayThe strategy is tailored to that exact pastFreeze the rules first, test changes on another period
A single periodThe market makes the resultCover rising, falling and ranging markets
Wrong time zoneThe strategy's hours no longer match live tradingPick a time zone and keep it everywhere

Adjusting the rules until the result looks good is the subtlest trap: every adjustment improves the past, not the future. Our article on optimizing without overfitting explains how to check that a change holds over several periods.

After the backtest: compare it with live trading

A successful backtest is only a hypothesis. The next step is to check it live, on a demo account or with a small risk, comparing the same figures:

FigureBacktestLive trading
Win rate……
Risk/reward ratio……
Average result in R……
Longest losing streak……
Worst drawdown in R……

A clear gap rarely comes from the strategy itself. It more often comes from trades taken outside the rules, early exits or underestimated costs. Those gaps are what the journal must reveal.

Your backtest in a real journal

A backtest kept in a spreadsheet means recalculating every statistic by hand, then doing the same work again for live trading.

In ProTradingData, a backtest lives in a dedicated journal, separate from your accounts: its trades do not mix with your real results. You enter each trade with its date on the replayed chart and its risk, duplicating the previous one to go faster, or you import your Paper Trading history and TradingView strategy tester reports. The backtest journal has the same statistics as your live accounts: win rate, ratio, result in R, streaks, results by hour and by setup. The comparison is figure by figure.

A ProTradingData journal dashboard: the same for a backtest and for a live accountDemo data

If your strategy is coded in TradingView, also see how to import a TradingView backtest.

Frequently asked questions

What is a manual backtest?

It is testing a strategy on past data, trade by trade, by hand: you scroll the chart candle by candle, for example with TradingView's Replay mode, and note every trade the rules would have taken.

How many trades does a backtest need?

At least 100, and preferably 200 or more. Over 50 trades, a true 40% win rate can show up anywhere between 26% and 54% by pure chance; over 200 trades, between 33% and 47%.

Is a manual backtest reliable?

Less than a coded backtest: you sometimes see what comes next on the chart, hesitate on borderline cases, forget costs. It is still very useful if the rules are written before starting and the result is then checked in live trading.

Should spread and commissions be counted in a backtest?

Yes. Subtract them from every trade, in R. On a strategy with small targets, they can be enough to turn a positive backtest negative.

How do I know whether my live trading matches my backtest?

Compare the same figures on both sides: win rate, risk/reward ratio, average result in R, longest losing streak. A clear gap often comes from trades taken outside the rules.

Keep reading

ProTradingLabs is not affiliated with FTMO, MetaQuotes, Spotware or TradingView. Trading leveraged products carries a risk of capital loss.