QBMFX ACADEMY

Advanced Forex · Order Flow · Lesson 08 of 8

Complete Order Flow Strategy, Backtesting and Journal

Put the tools together in a falsifiable workflow and test it without hindsight.

Educational notice: This is an educational lesson, not financial advice. Trading can result in substantial losses.

Define one narrow strategy

A testable order-flow strategy must specify instrument, venue, session, reference levels, entry trigger, stop, target and no-trade conditions. For example, study failed breakouts of the previous session high in a centralized futures market. Do not simultaneously mix every DOM, footprint, CVD and profile signal into a discretionary checklist that cannot be reproduced. Begin with a simple model and add one filter at a time only if testing supports it.

Preparation before the session

Mark the previous session high and low, POC, VAH and VAL using a fixed profile period. Record scheduled economic releases and contract expiry considerations. Choose a maximum loss for the day. Verify that footprint and delta feeds are functioning and that the platform’s reset times match the journal. If trading Gold, state whether observations come from COMEX GC futures or a broker’s XAUUSD feed; never silently combine incompatible volumes.

A profitable-looking footprint example is vulnerable to selection bias. Freeze the entry and invalidation rules before replay, and keep all qualified setups including ones that immediately reverse.

A hypothetical failed-high setup

Imagine price trades above the prior high during an active session but cannot hold there. Aggressive buying is visible in the footprint, yet subsequent bars return inside the range. A short is considered only after a defined failed retest. The stop is above the invalidation high with a volatility allowance, and the target is selected from prior range structure or profile reference. If price accepts above the high, there is no short setup.

A hypothetical accepted-breakout setup

In a separate example, price breaks above the prior high, trades sustained volume above it and retests without losing the level. A long may be considered after the retest confirms, with the stop below the acceptance structure. The target must offer adequate net reward after realistic costs. If the breakout reverses before confirmation, stand aside. These two scenarios are mutually conditional; the trader is not predicting both outcomes in advance.

Backtest without look-ahead

Historical replay should reveal data progressively. Do not inspect the full-day profile, final CVD curve or future candles before making an earlier decision. A developing profile changes during the session, and a completed profile can introduce hindsight bias. Record the exact information available at entry time. Include all qualifying setups, even those that lose or produce no fill. Avoid optimizing thresholds on the same data used to report performance.

For each of 30 replay trades, record instrument, venue, bid-ask data source, timestamp, commission, slippage and realized R. Compare net expectancy by session rather than reporting gross wins.

Metrics that matter

Track number of trades, win rate, average win, average loss, expectancy after costs, maximum drawdown and average slippage. A strategy with a high win rate can lose money if average losses are much larger. Expectancy can be estimated as win probability times average win minus loss probability times average loss, but small samples are unstable. Evaluate different volatility regimes and consider whether the result survives modest changes in assumptions.

A useful journal template

For every setup, log date, instrument, contract, session, data feed, reference level, footprint observation, CVD behavior, entry trigger, planned stop, position size, actual fill, exit and fees. Include a screenshot at the decision point and a short explanation of whether the rules were followed. Separate execution mistakes from valid strategy losses. Weekly review should focus on recurring errors and whether the edge persists outside the training sample.

Final exercise and next steps

Collect at least thirty historical candidate setups before forming preliminary conclusions, and use a separate period for validation. For each setup, write an alternate market interpretation and identify what would disprove the trade. Then paper-trade the rules under live conditions before risking capital. Even a promising backtest may fail because market behavior changes, fills deteriorate or the sample was lucky. The goal is repeatable decision quality, not guaranteed profit.

Create a falsification test for Complete Order Flow Strategy, Backtesting and Journal: mark the suspected event, the subsequent traded volume or delta, and the price level that would show the interpretation was wrong. Find a second session with similar volume but a different price response. Explain whether aggressive orders were absorbed, whether the displayed liquidity was replenished, or whether the data simply cannot distinguish those explanations.

Practice questions and model answers

What is the most important observation in this lesson?

Model answer: Identify the measurable event described in “Define one narrow strategy” and relate it to a specific reference price, rather than guessing the identity of a trader.

What would invalidate the trading interpretation?

For Complete Order Flow Strategy, Backtesting and Journal, distinguish observation from inference. A large delta with little price progress might be consistent with absorption, but it does not identify the participant or guarantee reversal. Define a subsequent price-acceptance test: for example, two closes beyond the marked level, or a failed retest within a fixed number of bars. Log cases where the order-flow interpretation fails and explain which additional evidence would change the conclusion.

How should the position be managed?

In a Complete Order Flow Strategy, Backtesting and Journal exercise, suppose the account is 10,000 units and the permitted risk is 0.5%, or 50 units. If entry-to-invalidation distance is 25 ticks and each tick is worth 2 units per contract, one contract already risks 50 units before commissions and slippage. A wider stop would require a smaller position or skipping the trade. Recalculate using the actual contract specification and do not assume spot FX has the same centralized volume feed.