Liquidity Radar Engine Pools Sweeps and Next DrawThis script answers one question continuously: which pool of resting liquidity was taken most recently, was it reclaimed, and where is price likely being delivered next. It is a context and narration tool, not a signal generator. It never tells you to enter.
**The three pool states — the core idea**
Most liquidity tools mark a level and then delete it the moment price touches it. That throws away the information that matters. Here a pool moves through three distinct states, drawn differently at each:
- **LIVE** — resting, untouched, still a magnet.
- **SWEPT** — taken, but price has not closed back through the origin. The sweep may still fail. Nothing is confirmed yet.
- **RECLAIMED** — taken and price closed back through the origin. This is the completed sweep-and-reclaim, and it is the only state the narration treats as a story worth acting on.
Separating SWEPT from RECLAIMED is the entire point of the script. A sweep without a reclaim is not a setup, and collapsing the two into one "hit" state hides the distinction that decides whether anything happened.
**What it draws**
Pool levels are built from prior-period highs and lows, session extremes, equal highs and lows, and swing pivots, each drawn according to its state. A liquidity glow fades with pool age so stale levels visibly recede rather than cluttering the chart indefinitely. A Next Draw ring marks the nearest unswept pool in the direction of the current higher-timeframe bias — the level price is being pulled toward. A Delivery Map shows where price has been delivered from and to. A narration bar states the current condition in plain words; when it reads that no sweep has happened yet, there is no story and nothing to do.
**The two engines that gate the narration**
Higher-timeframe bias reads structure on a higher timeframe from pivot sequence and reports bullish, bearish, or neutral/choppy. Bias decides which side of a sweep is worth watching. It is a filter, never a position, and it never extends how long anything is held.
Lower-timeframe change-of-character confirms that structure on the entry timeframe has actually shifted after a reclaim. This is the difference between a level being touched and a level being rejected.
Response presets (Fast, Balanced, Strict, Manual) set the pivot left and right bar counts independently, trading detection latency against confirmation lag. This is worth being precise about: the presets change how soon an event is detected. They do not lower what counts as an event. Strict reproduces the original timing exactly.
**Optional breadth**
Advance-decline and TICK feeds can be requested to flag exhaustion. These require the relevant index symbols on your data plan. Without them the breadth row reads unavailable and everything else continues to work normally.
**Using it with the sequence engine**
This script publishes five numbered plots as an export bridge, intended to be read as external sources by the companion script "Liquidity Sequence Suite — 4-Confirmation Engine". Wiring them lets that script consume this one's pool ledger, next-draw level and bias rather than recomputing them, so both agree on what happened and when. Wire each numbered source to the matching numbered field once. The exports are display-only and cost nothing if unused — this script is fully standalone and needs no companion.
**Limitations and shortcomings — please read**
- Pivot-based structure confirms with lag by definition. A pivot is only a pivot once the required bars to its right exist, so higher-timeframe bias and change-of-character both arrive after the turn, not at it. Faster presets shorten that lag. Nothing removes it.
- Higher-timeframe values update while the higher-timeframe bar is forming. Intrabar bias and change-of-character states are provisional and can change within the bar.
- Prior-period level requests use the standard previous-bar idiom and do not repaint. The pivot requests use no lookahead. Nothing in this script draws a level earlier on history than it could have appeared live.
- Pool detection is capped for performance. On very long histories or very low timeframes the oldest pools are dropped, so panel counts reflect what is tracked rather than everything that ever existed.
- Breadth is optional and depends on your data subscription.
- This is a context tool. It produces no entries, no stops, no targets and no performance claim. It is an indicator, not a strategy.
- Nothing here is financial advice.
**Originality**
Written clean-room from a written specification of publicly described concepts — resting liquidity above highs and below lows, sweeps, reclaims, equal highs and lows, session and prior-period levels. No third-party source was consulted or adapted. All code is original.
Chỉ báo






















