Tool
Fair-Value Gaps
market.fvg
Inputs
No typed inputs.
Outputs
An event list of fair-value gaps, each event carrying the gap's upper edge, lower edge, and direction. Use it as a quick imbalance feed when you do not need the displacement and mitigation controls of market.fair_value_gap.
A lightweight detector for fair-value gaps: the three-candle price imbalances that markets tend to revisit. It emits each gap as an event so you can react when one forms or gets filled, without any settings to tune.
How it works
It walks the bars three at a time and flags any window where the first and third candles do not overlap, leaving an untraded gap between them. Each detected gap is published as an event carrying its high and low edge and its bullish-or-bearish direction.
Connects to
Examples
- Drop market.fvg in for a zero-config imbalance feed and let interpretor.smc_zone fire when price re-enters a gap.
- Switch to market.fair_value_gap when you need direction filtering, a minimum gap size, or a specific mitigation rule.
Common mistakes
- Reaching for market.fvg when you actually need to filter by direction or gap size — that control lives in market.fair_value_gap.
- Assuming every gap will fill immediately; many sit open for a long time before price returns.