OPEN-SOURCE SCRIPT

ICT SMC Liquidity Grabs and OBs

1 809
ICT SMC Liquidity Grabs + Order Blocks + Fibonacci OTE Levels
A High-Probability Entry Engine for Smart Money Concept Traders

This script combines three powerful Smart Money Concepts (SMC) into a single tool: Liquidity Grabs, Order Block Zones, and Fibonacci OTE Levels, allowing traders to identify institutional entry models with clean, rule-based visual signals.

It’s designed to simplify SMC trading by highlighting confluence zones where price is likely to reverse or continue — with clear visual zones, entry arrows, and take profit projections.

🔍 What This Script Does:
Detects Liquidity Grabs

Identifies when price sweeps above/below the highest high or lowest low within a user-defined lookback period and closes back inside.

Plots orange labels on the chart to signal potential liquidity events (LG-H / LG-L).

Plots Order Blocks After Liquidity Grabs

After a liquidity grab, the script looks for displacement candles (strong bullish or bearish moves) and draws highlighted OB zones extending several bars to the right.

These zones represent potential institutional footprints for price reversals.

Draws Fibonacci OTE Levels (Optimal Trade Entry)

Uses recent swing high and low pivots to automatically calculate OTE zones (default: 62% and 75% retracement levels).

Draws these retracement zones for both bullish and bearish setups.

Marks Valid OTE Entry Zones

Buy/Sell zones only trigger when:

A liquidity grab occurs,

Price enters the OTE zone,

And a strong confirming candle is present.

Plots green/red arrows for valid buy/sell OTE entries.

Auto-Draws Take Profit Zones

TP1 = Previous swing high/low

TP2 = Risk-based R-multiplied extension (e.g., 1.5R — customizable)

Alerts

Triggers alerts when valid buy or sell OTE setups are detected.

⚙️ Customization Features:
Toggle each feature: Liquidity Grabs, Order Blocks, Fibonacci OTE levels

Set Fibonacci retracement percentages (e.g., 0.62 / 0.75)

Adjust lookback window for liquidity detection

Customize the take-profit multiplier (R-based)

Full control over visuals: colors, labels, and lines

💡 How to Use:
Use this script to scan for high-confluence trade setups based on Smart Money principles.

Combine with session timing (e.g., New York open), major swing structure, or Kill Zone windows for maximum edge.

Look for arrows inside OB zones or OTE levels following liquidity sweeps for cleaner entries.

🔗 Works Best With:
✅ First FVG — Opening Range Fair Value Gap Detector: Identify early inefficiencies to set the narrative for the day.

✅ Liquidity Levels — Smart Swing Lows: Spot key structural lows that can fuel stop hunts and reversals.

✅ ICT Turtle Soup — Liquidity Reversal: Add a classic reversal pattern to your toolkit to catch fakeouts cleanly.

Together, these tools build a complete Smart Money ecosystem for entry precision, risk management, and price behavior forecasting.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.