English
Home Models Features Pricing Knowledge base
Start 3-day trial Log in
live feedconnecting
Knowledge baseTrading encyclopedia - ICT, SMC, patterns and chart labels

Sweep rule (sweep to gap) - why 15m and 30m FVG setups need a liquidity sweep first

On 15m and 30m an FVG / BAG setup needs a liquidity sweep the trade's way in the candles before the gap, and EMA 9 above EMA 50 for a buy. What a sweep is here, the test numbers, and why it is off on other timeframes.

A liquidity sweep is a wick that runs past a known swing low (or high), takes the stops resting there, and closes back inside. In the FVG / BAG model, a sweep -> gap sequence means: first the sweep, then the gap that starts the move the other way. On 15m and 30m a setup is taken only when that sequence is there and the short EMAs agree. On other timeframes the sweep is not required.

The rule (15m and 30m)

For a buy gap:

  1. Sweep: in the 5 candles up to and including candle 1, a candle's low went under the last known swing low and the candle closed back above it. (A swing low is a low with 3 higher lows on each side, known 3 candles later.)
  2. EMA 9 / 50: at candle 3, EMA 9 is above EMA 50.

A sell gap is the mirror: a wick above the last swing high closing back under it, and EMA 9 below EMA 50.

How it shows on the PatternXRadar chart

A 15m or 30m gap without the sweep shows in the reasons layer as:

  • ✕ BUY FVG · no liquidity sweep before (full reason: no liquidity sweep the trade's way before the gap (this timeframe trades sweep -> gap only))
  • ✕ BUY FVG · after the sweep, EMA 9 / 50 is not the tr… (full: after the sweep, EMA 9 / 50 is not the trade's way)

The sweep candle itself is drawn by the SMC layer as SWEEP when that layer is on.

Example

Illustration on 15m. The last swing low is at 98.50. A candle dips to 98.20 and closes at 98.90 - a sweep. Two candles later a buy gap forms (candle 1 high 99.40, candle 3 low 100.10). At candle 3, EMA 9 = 99.60 and EMA 50 = 99.30, so EMA 9 is above. The setup passes this rule and goes on to the other checks (premium / discount, ADX, hours). Without the dip under 98.50, it would be no liquidity sweep before.

What our tests found

Full backtest, 50 coins, gross % of price per trade:

TF Without the rule With sweep + EMA 9 / 50 Halves (with)
15m +0.004 % (15,248 trades) +0.095 % (1,871 trades) +0.064 / +0.126
30m +0.047 % (4,912 trades) +0.218 % (648 trades) +0.306 / +0.130

On 15m, the sweep alone (no EMA check) gave +0.053 % a trade on 4,348 trades - more trades, less per trade. The combined rule was chosen for manual trading: fewer, better setups. 30m later added two more checks on top (no weekend, volatility above its normal), reaching +0.400 % a trade on 318 trades.

In the first study (sweep in the 5 candles before, plus EMA 9 / 50): 15m +0.106 % vs -0.046 % a trade (t 4.4), 30m +0.222 % vs +0.033 % (t 3.0).

Why not on 5m, 1h, 2h, 4h or 1d

  • An earlier, different sweep rule - letting a 4h gap against the structure through when a sweep came just before it - looked good on 18 Nov 2026 (4h -0.047 -> +0.119 % a trade after costs). Re-tested on 19 Nov with the newer rules, the 4h model was better without it (+0.313 vs +0.190 % a trade) and the sweep trades themselves made -0.085 %. On 5m and 15m that version lost (-0.04 to -0.08 %). It is off on every timeframe.
  • The same 19 Nov re-test showed no gain, or worse, on 5m, 15m, 30m, 1h and 2h too. The sweep -> gap requirement described above is a separate rule and was switched on only where its own test passed: 15m and 30m.
  • On 1d it looked slightly better on the 2024 - 2026 data (+0.338 -> +0.389 %, first half equal) but worse on the longer 2020 - 2026 daily history, so it is off.
  • A study of 670,000 gaps (17 Nov 2026) found that a sweep before the gap does not make a retest more likely (all cases 83 - 87 %). The sweep helps by picking the move's direction, not by bringing price back to the gap.

A related test, the "fake breakout": a wick beyond the 48 / 288-candle high or low that closes back inside came back the other way after 4 h only 52 - 53 % of the time, and real breakouts also came back 53 %. Fading the wick alone had no edge (1R target -0.04 to -0.09R). The sweep is useful here only as a condition before a gap.