TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Intrabar path ambiguity

Identify bars in which both stop and target are reachable.

0%

What you will learn

Prerequisites: OHLC bars, stop and target orders and execution timing.

Mechanism and decision rules

An OHLC bar records its open, high, low and close but not the order of every interior price event. If both a protective stop and target lie inside its range after entry, the bar alone may not determine which exit occurred first. A backtest that always chooses the target can invent favorable execution from missing information.

Use finer data when the strategy depends materially on sequence. Otherwise, define a conservative or bounded-outcome policy and report how many trades are affected. The policy must also respect entry timing: a bar’s low before the entry cannot trigger a stop on a position that did not yet exist. Treating all bar extrema as simultaneously available is another timeline error.

Worked example · synthetic data

A synthetic long enters at 100 with stop 98 and target 104. The subsequent bar has open 100, high 105, low 97 and close 103. A path 100→105→97→103 reaches the target first; a path 100→97→105→103 reaches the stop first. Both fit the same OHLC.

Under ideal no-slippage exits, possible price P&L is +4 or −2 per unit. The bar does not select one. A conservative test might use −2, while a sensitivity report can show both bounds. It must not choose +4 merely because that produces a smoother equity curve.

Failure modes and limits

Even tick data may lack order-book execution detail. Stop-market slippage and limit queue position add uncertainty beyond event order. A conservative assumption can understate results but is transparent; a favorable hidden assumption overstates evidence. Report ambiguous-trade frequency so readers can judge whether resolution matters.

Practice case

A long enters 50, stop 49 and target 52. A later bar spans 48–53. Under ideal trigger fills, what are the two possible price outcomes, and what additional data would resolve their order?

Reveal the worked answer

The outcomes are −1 or +2 per unit depending on which trigger is reached first. Timestamped intrabar trades or a finer sequence can resolve price order, though actual fills still require an execution model. The high–low range alone is insufficient.

Check your understanding

Can identical OHLC bars support opposite stop/target ordering?


Explanation

OHLC extrema do not preserve the chronological path.

Entry 100, stop 98 and target 104 produce which ideal outcome bounds?


Explanation

The declared trigger distances determine the two idealized exits.

Why report ambiguous-trade frequency?


Explanation

A result dominated by ambiguous bars has a material data-resolution limitation.

Sources and next steps

The lesson, calculations and synthetic cases are original educational material. References explain underlying contract or chart conventions; none validates the profitability of a trading rule. Actual contract specifications, settlement obligations and charges must be checked before trading.

Explore OHLCV data in the chart lab · Explore volume-at-price and TPO data · Practice library