Gap Fill Breakouts
By LuxAlgoJul 27, 2026
Gap Fill Breakouts is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
Gap Fill Breakouts trades the interaction between imbalances and structure. Fair value gaps that pass an ATR size filter are boxed on the chart, each box shrinks step by step as the gap fill progresses so only the unfilled remainder stays highlighted, and structural pivots are tracked nearby. When price clears one of those levels while a gap is still active, a signal prints.
How to Trade the Gap Fill Breakouts?
- Green upward triangle: price has broken a resistance pivot that sits below an active bearish gap, a bullish breakout pointing into that unfilled imbalance.
- Red downward triangle: price has broken a support pivot tied to an active gap; the bearish mirror.
- Shrinking boxes: the adaptive stair-step mechanism shows exactly how much of each gap remains unfilled, keeping attention on the still-relevant portion of the zone.
- No signals on stale gaps: once a gap ages past the signal window, breaks around it stop producing arrows.
The logic is deliberately confluence-based: an arrow requires both a proven structural level and a nearby market imbalance, never either condition alone. Bullish and bearish breakout alerts trigger once the signal bar closes, each with its own toggle and both on by default, so the setups do not depend on watching the chart.
Gap Fill Breakouts Settings
- ATR Multiplier for FVG Size: the minimum gap size in Average True Range multiples; raise it to keep only high-momentum gaps.
- Pivot Length: bars used to confirm structural pivots; higher values yield fewer but more significant levels.
- Max Bars Back for Signal: the maximum age of a gap, in bars, for its breakouts to still qualify.
- Number of Gaps Shown: caps how many of the most recent gaps, filled or still active, stay drawn on the chart.
Frequently Asked Questions
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 Custom Alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
All 3 Gap Fill indicatorsRun it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.





