Tick-Level Backtesting vs Candle Backtesting: Why Intrabar Sequencing Matters
Tick-Level Backtesting vs Candle Backtesting: The core difference explained
Tick-level backtesting vs candle backtesting is the single factor that can turn a seemingly profitable strategy into a losing one once it is deployed live. The former records every price change (tick) and evaluates orders at the exact moment they would have been filled; the latter only looks at the open, high, low, and close of a fixed‑time candle and assumes trades execute at those aggregate prices. Because most retail traders still rely on candle‑based results, they often overlook how intrabar stop‑loss (SL) and take‑profit (TP) sequencing can dramatically alter outcomes.
What is candle backtesting and why does it feel comfortable?
Candle backtesting builds performance metrics from a series of OHLC bars—usually 1‑minute, 5‑minute, or daily. A strategy’s entry rule fires when the candle meets a condition, and the exit rule is evaluated against the same candle’s high, low, or close. The simplicity is appealing: you can backtest with any charting package, you don’t need massive data files, and the results are quick to generate.
However, candle backtesting makes two hidden assumptions:
- Uniform execution within the bar. It pretends that you can enter at the candle’s open and exit at the high or low, regardless of the actual order of price moves inside the bar.
- Single‑point SL/TP. It assumes your stop‑loss and take‑profit are hit simultaneously with the candle’s extremes, ignoring the possibility that the price may hit your stop first, then reverse and hit your target later in the same bar.
When those assumptions fail, the backtest’s profit factor, win rate, and drawdown can be wildly inaccurate.

How does tick‑level backtesting work?
Tick‑level backtesting ingests every recorded market tick—each change in bid or ask price—so the engine can replay the exact sequence of price moves. An order is placed at the precise tick that satisfies the entry condition, and the engine monitors each subsequent tick for SL or TP hits. If the stop is hit first, the trade closes immediately; only if the price reaches the TP before the stop does the trade end profitably.
Because the data reflects real market microstructure, tick‑level backtesting captures:
- Order‑flow spikes that cause rapid price swings within a candle.
- Partial fills and slippage that occur when liquidity is thin.
- The true order of price extremes, which determines whether a trade would have survived intrabar volatility.
Platforms that store their own tick data, such as Tim Edge’s AI Strategy Builder, can run honest backtests without the look‑ahead bias that plagues many retail tools.
Intrabar SL/TP sequencing: why closed‑candle results diverge live
Imagine a 5‑minute candle that opens at 10,000, reaches a high of 10,050, a low of 9,950, and closes at 10,020. Your strategy enters long when the price crosses 10,010 and sets a stop at 9,970 and a target at 10,040. In candle backtesting, the engine checks the high and low of the candle:
- If the high (10,050) exceeds the target, the trade is marked a win.
- If the low (9,950) breaches the stop, the trade is marked a loss.
- Because both conditions are true, the engine typically assumes the target was hit first (or applies a tie‑breaker rule), resulting in a win.
In reality, the tick sequence might have been:
- Price moves up to 10,030, triggering the target.
- Within seconds, a sudden sell pressure pushes the price down to 9,960, hitting the stop.
If the stop hit first, the trade would close at a loss, even though the candle’s high later exceeded the target. Tick‑level backtesting records the exact order and would correctly label the trade as a loss.
This discrepancy is why many traders see their live win rate collapse after a promising candle‑backtest.
When does the difference matter most?
The impact of intrabar sequencing grows with three factors:
- Short time frames. 1‑minute or 5‑minute candles contain fewer ticks, so each tick represents a larger portion of the bar’s price action.
- Tight stop‑losses. When SL is only a few ticks away, the probability of the stop being hit before the target within the same bar rises sharply.
- Volatile instruments. Bitcoin and Gold, for example, exhibit rapid price swings that can cause multiple SL/TP events inside a single candle.
If you trade a strategy that relies on precise SL/TP placement, you should always validate it with tick‑level backtesting.
Comparison of candle vs tick backtesting characteristics
| Aspect | Candle Backtesting | Tick‑Level Backtesting |
|---|---|---|
| Data granularity | OHLC per fixed interval | Every price change (bid/ask) |
| Execution assumption | Entry at open, exit at high/low | Order fills at exact tick when condition met |
| SL/TP sequencing | Ignores order of high/low within bar | Respects true sequence, stop first if applicable |
| Speed of backtest | Fast, minimal storage | Slower, larger data files |
| Bias risk | Look‑ahead, survivorship bias common | Much lower bias; realistic fills |
| Suitable for | Long‑term, low‑frequency strategies | Intraday, scalping, tight‑SL strategies |
Practical steps to transition from candle to tick backtesting
- Collect tick data. Use a platform that records market ticks for the instruments you trade. Tim Edge’s Flow module stores its own tick‑level data for Bitcoin and Gold.
- Rewrite entry/exit logic. Ensure your code checks each incoming tick for both entry triggers and SL/TP conditions before moving to the next tick.
- Model slippage. Apply a realistic fill price (e.g., next‑tick price) rather than assuming perfect execution at the trigger price.
- Run a sanity check. Compare a small sample of candle‑backtest results with tick‑level results. Look for trades where the candle flagged a win but the tick test flagged a loss.
- Iterate and refine. Adjust stop distances, position sizing, or entry filters to compensate for the higher loss frequency revealed by tick testing.
Following these steps will surface hidden fragilities before you risk real capital.
The bottom line
Tick‑level backtesting captures the true order of price moves, ensuring that stop‑loss and take‑profit sequencing is respected. Candle backtesting, while convenient, can give a false sense of security, especially for short‑term, tight‑stop strategies. By moving to tick‑level validation, you align your simulated performance with what you will actually experience in the market, reducing the surprise factor when you go live.
