An OHLC candle records price extrema and endpoints, not the sequence of trades or quotes inside the interval. If a strategy’s entry and exit depend on that sequence, the bar alone may not determine the result. The backtest must disclose a conservative rule or use more detailed data.
The data assumption
The ambiguity becomes important when both a stop and a target fall within the same candle, or when a limit entry and protective exit can trigger in different orders. Knowing that each price was touched does not tell you which instruction was live at the time. Nor does a traded low prove that a particular passive order would have received a fill.
Bid/ask conventions add another layer. A candle based on last trades or bid prices may not contain the executable offer required by a buy order. Filling every instruction at the most favourable bar price can create an artefact rather than an implementable result.
A worked example
A position enters at $100 with a stop at $98 and a target at $103. The next bar has a high of $104 and a low of $97. Both levels lie inside the range. A path that visits $104 first produces a target exit; a path that visits $97 first produces a stop exit. The same OHLC data support both paths, so selecting the target by default is unjustified.
Practical review and implementation
Mark ambiguous bars and measure how much of the strategy’s result depends on them. Compare conservative, alternative and higher-resolution reconstructions without selecting the favourable one after the fact. Use appropriate bid/ask data and realistic order activation times. Include gap handling and market-session rules. If the idea remains viable only under optimistic intrabar assumptions, that dependence belongs in the investment conclusion.
Assumptions and limitations
Tick data can improve sequence information but may still omit queue priority, hidden liquidity or broker-specific execution. More detailed data do not eliminate every simulation assumption. The goal is to identify what the evidence supports and keep unsupported fill precision out of reported performance.
Primary references
Further detail on the underlying concepts and data definitions:
