Guide · Method

Bar replay vs backtesting

Bar replay asks “would I have taken this trade?” Automated backtesting asks “did this rule work across 500 days?” They are different questions, and confusing them is how traders end up trusting the wrong answer.

Updated

Two different questions

Bar replayAutomated backtest
SampleOne session at a timeHundreds or thousands of days
DecisionMade by you, in real timeMade by code, identically every time
AnswersWould I take this trade? How did I manage it?Does this rule have an edge, and how big?
WeaknessSmall sample, hard to repeatOverfitting, look-ahead bias, unrealistic fill assumptions
Bar replay vs backtesting — Charts Replay session report with equity curve, profit factor and win rate
Charts Replay review report: net P&L, profit factor, win rate, payoff ratio, max drawdown and equity curve.

What manual replay is good for

  • Discovering rules you can actually follow, including the parts you would never write down on the first pass.
  • Rehearsing execution: where the stop goes, how you scale, what you do after two losses.
  • Reviewing decisions rather than outcomes — the order you cancelled often explains more than the one you took.

What automated backtesting is good for

  • Sample size. A rule that looks good on 20 days can disappear across 500.
  • Parameter sensitivity: does the result survive a small change in stop distance or session window?
  • Removing the operator. Code takes every signal, including the ones you would have skipped on a bad morning.

Where each one misleads

Replay misleads when the sample is too small or too famous. Backtests mislead when the rules were written after seeing the data, when an indicator reads the current bar’s close before it exists, or when the fill model assumes a limit filled because the bar’s low touched it and ignores queue position. Neither method fixes the other’s bias; they expose different ones.

Use them in order

  1. Replay 20–30 sessions to write the rules down precisely: entry, stop, target, session window, what invalidates the trade.
  2. Automate the written rule and run it across the full history.
  3. Return to replay for the outliers — the trades the backtest handled differently from how you would have.
  4. Change one rule at a time, then repeat.

Where Charts Replay fits

Charts Replay is the manual half: one-minute replay, real resting orders and a saved record, with no scripting. Use it to build the rule and to review the trades a backtest cannot explain. If you want the automated half, the rules you write here are specific enough to hand to any backtesting library.

Frequently asked questions

Which should I do first?

Replay first. You need to know what the rule is before code can test it, and replay is where the vague parts — “near the open”, “strong candle” — get turned into numbers.

Can replay results be trusted as statistics?

No. A few dozen sessions is a sample of behaviour, not evidence of an edge. Treat replay as rule-building and review, and use a backtest for the statistical claim.

Does Charts Replay automate rules?

No. It is a manual replay desk with a saved order log and report; it does not run strategies for you.

Backtest it on real ES, NQ, GC, BTC & ETH data

One-minute history, resting orders that have to be reached, and every trade kept for review. 7 days free with Google or Discord sign-up, no card required.

Start backtesting
Guide · The basics

What is bar replay?

Bar replay rewinds a chart, hides the future and plays price forward bar by bar. What it is, how it differs from tick replay, and how to practise with it.