1nTest · strategy backtester and trading bot builder

Order block (OB)

An order block is the move that grabbed liquidity (swept a fractal or entered an FVG) and was then swallowed by one impulsive candle — the zone where large orders were likely placed and where price is expected to react on a return.

Order blockFractal
Real EURUSD H1 candles from 2025-04-06; the shapes are drawn from the output of our engine's detector.

What it means

A bearish order block is a move up of one or several candles that takes out a fractal high or runs into a bearish FVG, followed by one candle that closes below where the move started. A bullish one is the mirror image. Traders mark its range and wait for price to come back.

Definitions vary a lot between authors, so a backtest result for “order blocks” is only meaningful together with the exact rule used.

How 1nTest computes it

The move: one or several candles sweep a fractal or enter a fresh unfilled FVG on the same timeframe (it must be the first candle to do so). A block “out of thin air” is not accepted.

The engulf: right after that, ONE impulsive candle closes with its body beyond the open of the move's first candle, swallowing the whole move. Impulsive means a body of at least 1.5 ATR(14) and no smaller than the block itself.

The zone runs from the open of the move's first candle to the extreme wick of the move, and in time up to and including the engulfing candle.

Every condition is checked on closed candles only.

Example backtests with this step

Related concepts

← All concepts