Complete Suite: all 12 tools. 6 Premium desks inside.All 12 tools $606.98 one by one

$606.98 one by one $97 once Save $509.98Get the SuiteGet it
ProEA Lab · MT5, TradingView and trading research · Evidence standards
Order Flow

Best Liquidity Sweep Indicators on TradingView (2026), Code-Read.

We read the code of the most-boosted open-source liquidity sweep scripts on TradingView: which level each one sweeps, whether price must close back inside, whether it decides on a closed candle, and whether you can alert on the sweep.

PL · 8 min read
Explainer cover titled Best liquidity sweep indicators, code-read: a table of six open-source TradingView scripts with ticks, crosses and halves for three checks: whether a sweep needs a wick through the level and a close back inside, whether the script decides on a closed candle, and whether it alerts on the sweep.
Links to TradingView in this article are partner links: if you open a new TradingView account through one and buy a plan, TradingView may pay ProEA a commission, at no cost to you.

Short answer: the popular open-source liquidity sweep scripts disagree on three things: which level a sweep takes, whether price must close back inside, and whether they wait for the candle to close. The most boosted, Liquidity Sweeps by LuxAlgo, marks the textbook sweep, a wick through a swing and a close back on the same candle, on the live candle and with no alerts. For a sweep decided on a closed candle that you can alert on, Liquidity Sweep Hunter Algo by AlgoAlpha is the closest in our read, with a stricter rule of its own.

Most lists name liquidity sweep indicators.

This one reads them.

What we checked

A liquidity sweep is a candle that trades through a level where stop orders are likely to sit, a swing high or low or a session's high or low, and closes back on the other side. A raid that keeps closing beyond the level is a break, not a sweep.

We searched TradingView's scripts for ten terms on 26 October 2026, among them "liquidity sweep", "liquidity sweeps", "stop hunt" and "session liquidity", which returned 307 scripts. We took the nine most-boosted open-source scripts with "sweep" or "liquidity" in the name, down to 5,704 boosts, none skipped, and read every line that decides a sweep. Four questions:

  • The level: what does a sweep take: a pivot, a fractal, a rolling high or low, a session's high or low?
  • The close back: must price close back inside, and how soon?
  • When it decides: on a closed candle, or on the live one?
  • Alerts: can you set an alert for the sweep itself?

The table

Boosts as TradingView's search showed them on 26 October 2026. ATR(14) is the average true range of the last 14 candles.

ScriptBoostsThe levelThe sweepDecides onAlerts on the sweep
Liquidity Sweeps (LuxAlgo)23,530Pivots, 5 candles each sideA wick through and a close back on the same candle; a close beyond ends the levelThe live barNo alerts
Pure Price Action Liquidity Sweeps (LuxAlgo)10,748Nested 3-candle fractals, swings of swings of swings by defaultA wick through and a close back on the same candleThe live barNo alerts
ICT Liquidity Sweep/Swing Fail Pattern V.1 (wut_trader)10,390Pivots, 10 candles each sideA wick to or through and a close back on the same candle ("X"); also a close beyond then a close back ("SFP")The live barNo alerts
Mirage Liquidity Sweep Pro (WillyAlgoTrader)8,841Pivots, 21 candles each side, at most 80 candles oldA wick through and a close back on the same candle, scored 0–100 and kept at 50 or more; then, by default, a close beyond the last swing with 8 candles each side, within 13 candlesClosed candlesOnly on the entries that follow
Liquidity Sweep Filter (AlgoAlpha)8,4783-candle fractals, kept on the side of its trend bandAny wick through; no close back needed; weighted by the fractal candle's volumeThe live barYes
Liquidity Sweep Hunter Algo (AlgoAlpha)6,275Rolling highs and lows over 14, 42 and 120 candlesA wick through at least two levels with enough volume behind them, and a close back within two candlesClosed candlesYes
Nadaraya-Watson Regression Liquidity Sweeps (AlgoAlpha)5,773One level at a time, set where its regression oscillator turnsA close beyond the levelThe live barYes
Gold Sweep Desk (ours)—Yesterday's, Asia's and London's highs and lows, on New York timeA raid at least 0.05 × ATR(14) through, in the London or New York window, and a close back inside on the raid candle or within the next threeClosed candlesYes, and on the entry at the flip that follows

Two more of the nine aren't in the table. TradingFinder's ICT Concept, Order Block / FVG / Liquidity Sweeps (9,235) finds its liquidity in an imported library we didn't read, and its own signals fire when price touches an order block. Session Liquidity by Infinity_Trading_ (5,704) draws the highs and lows of two of its three session windows by default, on New York time, but has no sweep test and no alerts. Two scripts with "stop hunt" in the name, Inducement / Stop Hunt by TFO (6,131) and Stop Hunt by Nephew_Sam_ (5,370), are protected (code hidden), so we couldn't read them.

What the code says

LuxAlgo's Liquidity Sweeps is the textbook rule, on the live candle. It finds pivots with five candles on each side, so a level exists five candles after its swing, and marks a sweep when a candle's wick gets through and the same candle closes back. A close beyond ends the level in its default mode; its other two modes keep a broken level and mark a later wick back through it as an "outbreak and retest" sweep. Nothing waits for the close, so a sweep can print mid-candle and be gone, and there are no alerts. It is shared under CC BY-NC-SA 4.0.

LuxAlgo's Pure Price Action version uses swings of swings. Instead of a length, it nests three-candle fractals: at its default "Long Term" depth, a level is a swing of a swing of a swing, confirmed only when the smaller swing after it is. The sweep is the same same-candle wick and close back, on the live candle, with no alerts.

wut_trader's counts a touch, and names three patterns. The code's own title is "SMC Target Liquidity V.35 (Manual Distance Control)". On pivots of 10 candles each side, it marks "X" when a wick reaches the level, a touch counts, and the candle closes back; "SFP" when a close beyond is followed by a close back; and "MSS" when two closes beyond say the level broke. Session times only colour its lines. No alerts, no closed-candle check and no licence line.

Mirage is a signal system built on the sweep. It takes pivots of 21 candles each side, sweeps only levels at most 80 candles old, and scores each sweep 0 to 100 on wick length, how far the close came back, where it closed in the candle, volume and a 4-hour trend; below 50, nothing. By default it then waits up to 13 candles for a close beyond the latest swing with 8 candles each side before it prints Long or Short, with a stop 0.25 ATR past the sweep's wick and targets at 1R, 2R and 3R, one trade at a time. Everything that signals waits for the close, and its 4-hour trend is read one candle back, which keeps it from repainting. Its alerts are for entries, stops and targets, not for the sweep. Its on-chart win rate counts a trade as a win once the first target is touched. It carries no licence line.

AlgoAlpha's Liquidity Sweep Filter doesn't ask for a close back. Any wick through a three-candle fractal that sits on the right side of its trend band counts, weighted by the fractal candle's volume; above 50 on its volume scale, the mark is "major". It decides on the live candle and has six alerts, among them a bullish and a bearish sweep. Without volume data it marks nothing. It is shared under MPL 2.0.

AlgoAlpha's Liquidity Sweep Hunter Algo is the strictest. It keeps rolling highs and lows over 14, 42 and 120 candles, and on a closed candle needs the wick to reach at least two separate levels whose volume-based strength averages 33% or more, then a close back past the nearest one within two candles. It draws an entry at the next candle's open, a stop at the four-candle extreme and three targets up to 3R, and alerts on the sweep reversal. Without volume data no sweep passes its default filter. It is shared under MPL 2.0.

AlgoAlpha's Nadaraya-Watson version means something else by "swept". Its one level comes from a regression oscillator turning, and "swept" is a close beyond it: no wick test, no close back. It decides on the live candle and has ten alerts, two of them for the level swept.

None of the nine has anything gold-specific in the code we read, and none of the seven whose sweep test we read sweeps a session's high or low.

For scripts that draw the killzones' highs and lows themselves, we read the 15 most-boosted killzone and session scripts (best killzone indicators, code-read); none of them tests for a close back inside.

The scripts built on yesterday's high and low are another family; we read the 15 most boosted, and none of them tells a sweep of that level from a break: best previous day high low indicators, code-read.

Ours

Gold Sweep Desk isn't on TradingView's search: its full Pine v6 source comes in Pine Pro Library, $49 once. It is built for gold and for session liquidity: its levels are yesterday's high and low, the Asia range's (20:00 to 24:00 New York) and the London range's (02:00 to 05:00). A sweep counts only in the London (02:00 to 05:00) or New York (07:00 to 11:00) window, when a raid gets at least 0.05 × ATR(14) through a fresh level and a close comes back inside on the raid candle or within the next three; a raid that keeps closing beyond is held. Then it waits for the flip, a close through the nearest opposing fair value gap, before it draws a plan. Everything is decided on closed candles, every clock is New York's, and it alerts on the sweep, the entry at the flip, 1R and the exit. A strategy twin runs the same rule in the Strategy Tester.

The rule, step by step and with a clock you can try, is in the gold liquidity sweep strategy. We tested it twice on 2026 gold data and no setting became a tested default: the one candidate that passed its first period then lost 11.63R over 15 trades in its check period (every row). Looking for a gold indicator rather than a sweep one? The best gold indicators for TradingView, code-read.

Check one yourself

  • The level: find the ta.pivothigh/ta.pivotlow call (its two numbers are the candles each side), the fractal test or the session window. That's what gets swept.
  • The close back: a sweep test reads like high > level and close < level. With only high > level, any wick counts; with close > level, it's a break.
  • The close: look for barstate.isconfirmed around the sweep. Without it, a sweep you see live may not be there when the candle closes.

None of the scripts here, ours included, runs on MT5 or MT4: Pine Script runs only on TradingView.

Limits

One code read, on 26 October 2026, of the versions TradingView served that day. Scripts change, and boosts measure popularity, not quality. We build and sell Gold Sweep Desk, and we have no relationship with any author named here. Nothing here is financial advice.

Frequently asked questions

What is the best liquidity sweep indicator on TradingView?

It depends on the rule you want. The most boosted, Liquidity Sweeps by LuxAlgo (23,530 boosts), marks the textbook sweep, a wick through a swing high or low and a close back on the same candle, but judges the live candle and has no alerts. For a sweep confirmed on a closed candle with an alert, Liquidity Sweep Hunter Algo by AlgoAlpha (6,275 boosts) is the closest in our read, though it needs a wick through at least two levels and volume data.

Is there a free liquidity sweep indicator for TradingView?

Yes. Every third-party script in our table is free to add, with its code open. LuxAlgo's two are shared under CC BY-NC-SA 4.0, which doesn't allow commercial use; AlgoAlpha's three under the Mozilla Public License 2.0; Mirage Liquidity Sweep Pro and wut_trader's script carry no licence line.

Does the liquidity sweep indicator repaint?

Most of these judge the live candle. LuxAlgo's two, wut_trader's and AlgoAlpha's Liquidity Sweep Filter and Nadaraya-Watson script have no closed-candle check, so a sweep can print mid-candle and be gone at the close. Mirage Liquidity Sweep Pro and AlgoAlpha's Liquidity Sweep Hunter Algo decide on closed candles.

Which liquidity sweep indicator uses session highs and lows?

None of the sweep scripts we read. They sweep pivots, fractals, rolling highs and lows or a regression level. Session Liquidity (5,704 boosts) draws session highs and lows on New York time but has no sweep test, and wut_trader's script only colours its lines by session. Our Gold Sweep Desk sweeps yesterday's, the Asia range's and the London range's highs and lows.

Does a liquidity sweep need a close back inside?

In most definitions, yes: a wick through the level and a close back on the other side. Five of the scripts we read require it. AlgoAlpha's Liquidity Sweep Filter counts any wick through, and its Nadaraya-Watson script calls a close beyond its level a sweep.

Is there a liquidity sweep indicator for MT5 or MT4?

Not among these: every script here is Pine Script, which runs only on TradingView.

Which liquidity sweep indicator does ProEA make?

Gold Sweep Desk, in Pine Pro Library, $49 once with its full Pine v6 source. It sweeps yesterday's, Asia's and London's highs and lows on gold, in the London and New York windows, needs a close back inside on the raid candle or within the next three, decides on closed candles, and alerts on the sweep and on the entry at the flip that follows.

Continue reading

Best ICT Silver Bullet Indicators on TradingView (2026), Code-Read.

We read the code of the 15 most-boosted open-source ICT silver bullet scripts on TradingView: which keep 03:00, 10:00 and 14:00 on New York's clock through daylight saving time, what each looks for inside the hour, which draw an entry, a stop and a target, and which decide on a closed candle.

Oct 31 · ProEA Lab

Explainer cover titled Best silver bullet indicators, code-read: a table of six open-source TradingView silver bullet scripts with ticks, crosses and halves for four checks: whether the hours are read on New York's clock with daylight saving time, whether the script waits for a sweep before it takes a gap, whether it draws an entry, a stop and a target, and whether it decides on a closed candle.

Best SMT Divergence Indicators on TradingView (2026), Code-Read.

We read the code of the 12 most-boosted open-source SMT divergence scripts on TradingView: which pair each compares, how it finds the swings and matches them in time, whether it flips an inverse pair like DXY, and when it decides.

Oct 31 · ProEA Lab

Explainer cover titled Best SMT divergence indicators, code-read: a table of six open-source TradingView scripts with ticks and crosses for three checks: whether the script finds swings on both markets, whether it flips an inverse pair, and whether it decides on a closed candle.

Best False Breakout Indicators on TradingView (2026), Code-Read.

We read the code of the ten most-boosted open-source false breakout and turtle soup scripts on TradingView, none skipped, and two more that sit closest to the job: what each one calls a false breakout, what repaints, which give a stop or an alert. Then three of their definitions on one chart, and what exists for MT4.

Oct 30 · ProEA Lab

Explainer cover titled Best false breakout indicators, code-read: 28 made-up 15-minute candles marked three ways. Zeiierman's False Breakout (Expo) marks the 09:15 candle, LuxAlgo's Breakout Detector marks 06:15 and 10:15 with an F, and Range Verdict's Fade reads 06:15, 09:00 and 10:15 and makes a plan only at 09:00, inside its New York window.