OPEN-SOURCE SCRIPT
{VndrBase} 9AM CST Liquidity Sweep

The 9AM CST Liquidity Sweep [Audited] is a quantitative Pine Script v6 indicator designed for index futures traders (such as Micro Nasdaq - MNQ or NQ). It tracks the Initial Balance (IB) range established during the overnight Globex session (18:00 - 09:00 CST) and identifies high-probability liquidity sweeps and mean-reversion entries during the opening execution window (09:00 - 11:00 CST).
The algorithm detects when price wicks beyond overnight extremes (IB High or IB Low) but successfully rejects the breakout by closing back inside the range, filtering entries through strict risk-point constraints.
Key Features
Overnight Initial Balance Tracking: Dynamically captures the high and low boundaries formed between 18:00 and 09:00 CST.
False-Breakout Sweep Logic: Identifies institutional liquidity sweeps where wicks pierce key structural levels, but candle bodies close safely inside to prevent trading confirmed breakouts.
Built-In Risk Gate: Enforces maximum risk parameters (defaulting to an 83-point threshold designed to cap risk at $1,000 per 1 MNQ contract).
Dynamic Target Calculation: Utilizes session VWAP as an adaptive profit target for mean-reversion trades.
How It Works
Session Initialization: The script monitors the 18:00 - 09:00 CST window to continually compute the absolute highest and lowest price points, establishing the Initial Balance (IB).
Execution Window Filtering: Once the core trading session begins at 09:00 CST, the script scans for price action anomalies at the IB boundaries.
Trigger Validation:
Long Sweep: Price wicks below the IB Low, but closes back above it (and the previous bar closed above or at the level), ensuring sellers failed to drive a structural breakdown.
Short Sweep: Price wicks above the IB High, but closes back below it.
Risk Assessment: Calculates exact risk in points from entry price to the extreme wick low/high, discarding any setup that exceeds the maximum risk ceiling.
Visualization: Plots clean structural lines for IB boundaries, session VWAP, entry arrows, and verification data labels detailing exact risk points and session-VWAP take-profit targets.
Built with data insights powered by https://vndrbase.com/
The algorithm detects when price wicks beyond overnight extremes (IB High or IB Low) but successfully rejects the breakout by closing back inside the range, filtering entries through strict risk-point constraints.
Key Features
Overnight Initial Balance Tracking: Dynamically captures the high and low boundaries formed between 18:00 and 09:00 CST.
False-Breakout Sweep Logic: Identifies institutional liquidity sweeps where wicks pierce key structural levels, but candle bodies close safely inside to prevent trading confirmed breakouts.
Built-In Risk Gate: Enforces maximum risk parameters (defaulting to an 83-point threshold designed to cap risk at $1,000 per 1 MNQ contract).
Dynamic Target Calculation: Utilizes session VWAP as an adaptive profit target for mean-reversion trades.
How It Works
Session Initialization: The script monitors the 18:00 - 09:00 CST window to continually compute the absolute highest and lowest price points, establishing the Initial Balance (IB).
Execution Window Filtering: Once the core trading session begins at 09:00 CST, the script scans for price action anomalies at the IB boundaries.
Trigger Validation:
Long Sweep: Price wicks below the IB Low, but closes back above it (and the previous bar closed above or at the level), ensuring sellers failed to drive a structural breakdown.
Short Sweep: Price wicks above the IB High, but closes back below it.
Risk Assessment: Calculates exact risk in points from entry price to the extreme wick low/high, discarding any setup that exceeds the maximum risk ceiling.
Visualization: Plots clean structural lines for IB boundaries, session VWAP, entry arrows, and verification data labels detailing exact risk points and session-VWAP take-profit targets.
Built with data insights powered by https://vndrbase.com/
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.