OPEN-SOURCE SCRIPT
Liquidity Levels, Sweeps & Grabs | Falcon AI

Draws the liquidity pools price tends to hunt, the Previous Day and Previous Week highs and lows, and flags the two distinct ways each one gets taken.
SWEEP: price trades BEYOND the level, can hover or consolidate out there, then closes back through it over one or more candles. The slower stop-run.
GRAB: a single candle spikes a long wick past the level and snaps back inside with a small body, doji-like. Taken and rejected within one bar.
Separating the two matters because they do not look the same on a chart and do not resolve on the same timescale. Lumping them together as one generic liquidity event loses exactly the information that made the distinction worth drawing.
Each level is drawn and kept until it is taken, then marked, so you can see at a glance which pools are still sitting untouched above and below price.
Settings: which levels to draw (previous day high/low, previous week high/low), wick and body thresholds that separate a grab from a sweep, line styles, colours and labels.
This script does NOT place trades, does NOT backtest, and contains no entry, stop, target or position-sizing logic. It marks levels and the events that take them. Your entry, your risk.
Educational tool only. Not financial advice. A swept level is not a signal, and plenty of sweeps simply keep going.
SWEEP: price trades BEYOND the level, can hover or consolidate out there, then closes back through it over one or more candles. The slower stop-run.
GRAB: a single candle spikes a long wick past the level and snaps back inside with a small body, doji-like. Taken and rejected within one bar.
Separating the two matters because they do not look the same on a chart and do not resolve on the same timescale. Lumping them together as one generic liquidity event loses exactly the information that made the distinction worth drawing.
Each level is drawn and kept until it is taken, then marked, so you can see at a glance which pools are still sitting untouched above and below price.
Settings: which levels to draw (previous day high/low, previous week high/low), wick and body thresholds that separate a grab from a sweep, line styles, colours and labels.
This script does NOT place trades, does NOT backtest, and contains no entry, stop, target or position-sizing logic. It marks levels and the events that take them. Your entry, your risk.
Educational tool only. Not financial advice. A swept level is not a signal, and plenty of sweeps simply keep going.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
📊 Falcon AI — World's most transparent algo trading service ·Automated Futures strategies · 14-day Setup Guarantee. Free community & live results → thefalconai.com
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
📊 Falcon AI — World's most transparent algo trading service ·Automated Futures strategies · 14-day Setup Guarantee. Free community & live results → thefalconai.com
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.