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.
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
📊 Falcon AI — World's most transparent algo trading service ·Automated Futures strategies · 14-day Setup Guarantee. Free community & live results → thefalconai.com
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
📊 Falcon AI — World's most transparent algo trading service ·Automated Futures strategies · 14-day Setup Guarantee. Free community & live results → thefalconai.com
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน