How to Backtest a Trading Strategy Manually

A step-by-step process for manual backtesting: writing clear rules, collecting a large enough sample and avoiding the biases that make results look better than they are.

TradeTracking Editorial Team
November 2, 2026
9
min read
Track itTradeTracking.com — the trading journal that syncs your trades automatically. Free for one account.
Start free →

Backtesting means testing a strategy on past market data before risking money on it. Done honestly, it tells you whether a setup has an edge and what kind of drawdowns to expect.

1. Write rules a stranger could follow

Define the market, timeframe, entry trigger, stop placement, exit rule and position size in writing. If a rule needs judgment (“strong trend”), turn it into something measurable (“price above the 50-period moving average”).

2. Choose a long, varied sample

Test across different conditions — trending, ranging, quiet and volatile periods. Aim for at least 100 trades; fewer than 30 tells you very little.

3. Hide the future

Scroll the chart forward one bar at a time and make each decision with only the information available then. Seeing the outcome before deciding (look-ahead bias) is the most common way backtests lie.

4. Record every trade

Log date, entry, stop, exit, result in R and any notes. Our free templates work well for this.

5. Review the numbers

  • Expectancy (average R per trade) — must be positive after costs.
  • Win rate and payoff — check with the win rate calculator.
  • Maximum drawdown and longest losing streak — can you emotionally sit through them?

6. Forward test with small size

Trade the rules live with minimum size for a few weeks. Real fills, slippage and emotions often differ from the backtest.

Avoid these traps

  • Curve fitting: tweaking rules until past results look perfect.
  • Cherry-picking: skipping trades you “wouldn't have taken”.
  • Ignoring costs: include commissions and realistic slippage.

Track the live results

Once a strategy passes your backtest, journal its live trades with the same setup tag. TradeTracking.com shows win rate, expectancy and profit factor by setup, so you can compare live results with your backtest directly.

+
Free integrationClarity FX accounts sync to TradeTracking for freeConnect your Clarity FX account and every trade lands in your journal automatically. No upgrade needed.
Clarity FX is not available to US residents. Leveraged trading puts your capital at risk.
TradeTracking.com
Put this guide into practice

Sync your trades, set daily loss and drawdown limits and see exactly where your edge comes from. Free for one account.

Start free →

Educational content only, not financial advice. We may earn a commission from partner links. See our affiliate disclosure.

More trading guides