Two things have to happen, in order: liquidity is taken, and then price reverses back through the imbalance that taking it left behind. Everything else in the tool is either a way of detecting that more reliably, or a way of refusing setups that only resemble it.
Stops cluster. Every trader who is long has a stop somewhere under the recent low, every breakout trader has an order above the recent high, and nobody picks those places at random — they pick them by looking at the same chart, which has a small number of obvious levels on it.
A participant who needs to fill a serious position has a problem: there is not enough resting supply at the current price. What they need is a moment when a lot of people are selling at once. A cluster of stops under an obvious low is exactly that.
So price goes and gets them. A sharp move below an obvious low is not a breakdown. It is a purchase. Once those orders are gone there is nothing left underneath to push price lower, which is why the reversal off a sweep is so abrupt.
Take any three candles in a row. Normally the range of the first overlaps the range of the third — price moved, but it moved through every level on the way, and trading happened at each one.
A fair value gap is when they do not overlap. The middle candle moved so far and so fast that there is a band of prices where effectively no two-sided trading took place. It is a footprint of urgency — nobody creates a gap with patient limit orders — and it leaves orders unfilled on the other side.
A bullish gap is supposed to act as support. Price returns, the buyers who missed the move step in, price turns back up. That is the base case.
The interesting case is when it fails. If price closes all the way through and beyond it, every one of those buyers is wrong. They are underwater, in a zone they themselves marked as important. Their stops sit just beyond it. And when price trades back into that band they take the chance to get out at breakeven — they sell into the retest. Support becomes resistance.
Nothing mystical about it. Trapped traders defending their exit, which is the same mechanic that makes a broken trendline act as resistance.
And this is the part that does the work. At the moment price trades below an obvious low you cannot tell a stop run from a genuine breakdown — they look identical. The difference only appears afterwards, in what price does with the imbalance it created on the way down. If it closes back through, the sellers who pushed it there are trapped and it was a sweep. If it does not, it was a breakdown and you were right to stay out.
A sweep with no inversion is a guess at a low. An inversion with no sweep can happen anywhere on the chart and tells you nothing about why price should reverse from there. Together they describe one complete sequence: the liquidity got taken, and the people who took it are now trapped.
When a level is traded through, the model arms in the opposite direction and starts looking for a gap to invert. The caption names the level that armed it, so "ASIA L swept 12 bars ago, 8.5 pts" tells you which low was taken, when, and how far price has travelled since.
Records the high and low of a window — 7:00–8:00pm, say — then waits for price to close beyond one edge and back inside. Same sweep, framed as a range rather than a line.
No black box. Each marker carries the level that armed it, how long ago, how far price has travelled since, and the size of the gap that inverted.