# Bar replay vs backtesting

> Manual bar replay trains judgement on one day; automated backtesting tests a rule across hundreds. What each proves, where each misleads, and how to use both.

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.

URL: https://chartsreplay.app/en/guides/bar-replay-vs-backtesting
Updated: 2026-11-11

## Two different questions

|  | Bar replay | Automated backtest |
| --- | --- | --- |
| Sample | One session at a time | Hundreds or thousands of days |
| Decision | Made by you, in real time | Made by code, identically every time |
| Answers | Would I take this trade? How did I manage it? | Does this rule have an edge, and how big? |
| Weakness | Small sample, hard to repeat | Overfitting, look-ahead bias, unrealistic fill assumptions |

## 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.
