Skip to content
Wildflower
Join waitlist

More parts for the gap and rejection candle

Parts that change how the gap at a moving average is traded, and a resting stop order as the rejection candle's entry.

Updated 29 November 2026 · 4 minute read

The Fair value gap at a moving average detector works on its own. The parts below, added beside it, change how the gap is traded.

Entering on an expansion out of the gap

Add these four parts and the gap is read on 3-minute candles. Once price comes back into the gap, the entry waits for a run of 15-second candles that closes out of it in the gap's direction.

  • Expansion pattern: how many 15-second candles the run spans, how its last candle must close, and whether a run across a market closure (a weekend, a holiday or the daily maintenance break) counts. Its body, move and wick floors are optional.
  • Return into the gap: whether a return during the gap's own 3-minute period counts, and whether price must also reach the gap's halfway point.
  • Checks on the expansion: whether it may go against the gap's direction, and whether one more minute must close your way before the trade is taken.
  • The gap being watched: whether a newer gap replaces the one being watched, and whether a 15-second close past the gap drops it, or only a 3-minute close.

Set the detector's candle length to 3 minutes for this.

Entering at the gap's close, with the gap's own rules

Without the expansion parts, adding Three-candle fair value gap keeps the entry at the close of the gap's third candle, on 3, 5, 15 or 60-minute candles. That part sets the smallest gap that counts, how many entries one gap may give (0 means no limit), and whether a gap across a market closure counts.

What both ways need

  • Three-candle fair value gap, as above.
  • The Continuation gaps away from the average gate, on or off.
  • The detector's widest stop, average length and whether returns to the average count. These parts trade both sides, so set the detector's Buy, sell or both to Both sides, or take those parts away.

Where the stop sits

On the detector, choose the opposite band (the gap's far side) or the pattern candle's extreme. Or add Stop at one of the gap's candles instead, for the first or second candle's wick, or a set number of ticks from the entry candle's close.

Waiting for a return to a level

With the gap's own rules you can add Wait for a return to a level on longer candles. A pattern on 5, 15 or 60-minute candles marks a level the market left. The gap is taken only if it forms back near that level, in the same direction, within the candles you allow.

The pattern is a rejection candle then one engulfing it, a run of candles then one engulfing the last, or a tight box that price closes out of. With the wait on, the stop part can also sit past the level, or just past the furthest point of the move back. The wait can't be used with the expansion parts.

A resting stop order at the rejection candle

This is for the Moving average rejection candle detector.

Choose Resting stop order at the level as the entry, switch on its order at the level, and set its offset and how many candles it waits (1 to 10). A buy stop then rests that many ticks above the candle's high for a long (a sell stop below its low for a short), and is deleted if not filled in time. The stop is the pattern candle's extreme, plus your buffer. The target is your fixed exit's multiple of the stop distance (0.25 to 10). The average's candle length must be 15 minutes, 1 hour, 4 hours or 1 day, and the detector's wait between signals and swing window aren't used.

What can go wrong

If a part is missing, a setting is empty, or a value can't be used with your parts, the builder names it, and the strategy won't run until you fix it. With the gap parts, the detector's wait between signals, swing window and smallest gap aren't used, nor are Middle candle spans the gap's midpoint and Entries per gap.

What's next

Entries and exits.