PROTECTED SOURCE SCRIPT
Atualizado CRT Liquidity Sweep Detector

Overview
The CRT Liquidity Sweep Detector is a precision indicator designed for traders who follow ICT (Inner Circle Trader) methodology and Candle Range Theory (CRT) concepts. This tool automatically identifies high-probability manipulation patterns where institutional players sweep liquidity before reversing price direction.
What It Does
This indicator detects valid CRT candles followed by manipulation candles that exhibit classic liquidity sweep characteristics:
Identifies thick-bodied CRT candles (customizable minimum body percentage)
Detects manipulation patterns where price opens beyond the CRT range, sweeps liquidity with wicks, and closes back inside
Visual markers with tiny red/green triangles on manipulation candles
Smart alerts that fire once per bar close with symbol and timeframe information
No repainting - only evaluates confirmed, closed candles for reliable signals
How It Works
Bullish Setup (Green Triangle):
CRT candle has ≥50% body ratio (bearish candle)
Next candle opens at or below CRT body low
Wick sweeps below CRT low (liquidity grab)
Closes back at or above CRT body low (rejection)
Bearish Setup (Red Triangle):
CRT candle has ≥50% body ratio (bullish candle)
Next candle opens at or above CRT body high
Wick sweeps above CRT high (liquidity grab)
Closes back at or below CRT body high (rejection)
Key Features
✅ Adjustable Body Percentage - Set minimum body ratio for CRT candles (default 50%, range 30-90%)
✅ Multi-Timeframe Compatible - Works on any timeframe from 1-minute to Daily charts
✅ Clean Visual Design - Minimal chart clutter with small triangle markers only
✅ Combined Alerts - Single alert system for both bullish and bearish setups
✅ Non-Repainting - Signals appear only after bar close for maximum reliability
✅ Smart Signal Management - Prevents duplicate alerts on consecutive manipulation candles
Best Use Cases
Intraday Trading: 5min, 15min charts for quick scalping entries
Swing Trading: 1H, 4H charts for higher timeframe setups
Confluence Trading: Combine with FVG, order blocks, and market structure analysis
Entry Timing: Identify precise entry points after liquidity sweeps
Settings
Minimum Body Percentage (%): Adjust the required body-to-range ratio for valid CRT candles. Higher values = stricter CRT detection. Lower values = more signals but potentially lower quality.
Alert Setup
Add indicator to your chart
Right-click on indicator name
Select "Add Alert on CRT Liquidity Sweep Detector"
Configure your alert delivery method (popup, email, webhook, etc.)
Alerts fire once per bar close with dynamic messages showing direction, symbol, and timeframe
Trading Strategy Integration
This indicator works best when combined with:
Market structure analysis (higher highs/lows)
Fair Value Gaps (FVG) for entry confirmation
Order blocks from previous sessions
Key support/resistance levels
Session open/close times (Asia, London, New York)
Technical Details
Pine Script Version: 6
Chart Type: Overlay indicator
Alert Frequency: Once per bar close
Historical Signals: Fixed (no repainting)
Resource Usage: Lightweight, minimal lag
Notes
Signals are most reliable on clean, trending moves
Use in conjunction with risk management and position sizing rules
Works on all asset classes: Forex, Gold, Indices, Crypto, Stocks
Adjust body percentage based on asset volatility and timeframe
Perfect for ICT traders, smart money concepts followers, and anyone looking to identify institutional manipulation patterns with precision.
The CRT Liquidity Sweep Detector is a precision indicator designed for traders who follow ICT (Inner Circle Trader) methodology and Candle Range Theory (CRT) concepts. This tool automatically identifies high-probability manipulation patterns where institutional players sweep liquidity before reversing price direction.
What It Does
This indicator detects valid CRT candles followed by manipulation candles that exhibit classic liquidity sweep characteristics:
Identifies thick-bodied CRT candles (customizable minimum body percentage)
Detects manipulation patterns where price opens beyond the CRT range, sweeps liquidity with wicks, and closes back inside
Visual markers with tiny red/green triangles on manipulation candles
Smart alerts that fire once per bar close with symbol and timeframe information
No repainting - only evaluates confirmed, closed candles for reliable signals
How It Works
Bullish Setup (Green Triangle):
CRT candle has ≥50% body ratio (bearish candle)
Next candle opens at or below CRT body low
Wick sweeps below CRT low (liquidity grab)
Closes back at or above CRT body low (rejection)
Bearish Setup (Red Triangle):
CRT candle has ≥50% body ratio (bullish candle)
Next candle opens at or above CRT body high
Wick sweeps above CRT high (liquidity grab)
Closes back at or below CRT body high (rejection)
Key Features
✅ Adjustable Body Percentage - Set minimum body ratio for CRT candles (default 50%, range 30-90%)
✅ Multi-Timeframe Compatible - Works on any timeframe from 1-minute to Daily charts
✅ Clean Visual Design - Minimal chart clutter with small triangle markers only
✅ Combined Alerts - Single alert system for both bullish and bearish setups
✅ Non-Repainting - Signals appear only after bar close for maximum reliability
✅ Smart Signal Management - Prevents duplicate alerts on consecutive manipulation candles
Best Use Cases
Intraday Trading: 5min, 15min charts for quick scalping entries
Swing Trading: 1H, 4H charts for higher timeframe setups
Confluence Trading: Combine with FVG, order blocks, and market structure analysis
Entry Timing: Identify precise entry points after liquidity sweeps
Settings
Minimum Body Percentage (%): Adjust the required body-to-range ratio for valid CRT candles. Higher values = stricter CRT detection. Lower values = more signals but potentially lower quality.
Alert Setup
Add indicator to your chart
Right-click on indicator name
Select "Add Alert on CRT Liquidity Sweep Detector"
Configure your alert delivery method (popup, email, webhook, etc.)
Alerts fire once per bar close with dynamic messages showing direction, symbol, and timeframe
Trading Strategy Integration
This indicator works best when combined with:
Market structure analysis (higher highs/lows)
Fair Value Gaps (FVG) for entry confirmation
Order blocks from previous sessions
Key support/resistance levels
Session open/close times (Asia, London, New York)
Technical Details
Pine Script Version: 6
Chart Type: Overlay indicator
Alert Frequency: Once per bar close
Historical Signals: Fixed (no repainting)
Resource Usage: Lightweight, minimal lag
Notes
Signals are most reliable on clean, trending moves
Use in conjunction with risk management and position sizing rules
Works on all asset classes: Forex, Gold, Indices, Crypto, Stocks
Adjust body percentage based on asset volatility and timeframe
Perfect for ICT traders, smart money concepts followers, and anyone looking to identify institutional manipulation patterns with precision.
Notas de Lançamento
Added Early Alerts which will alert on second candle(Manipulation).Note: Early alert will repaint if not closed below the CRT. It will give the edge to find entry early.
Script protegido
Esse script é publicada como código fechado. However, you can use it freely and without any limitations – learn more here.
Aviso legal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Script protegido
Esse script é publicada como código fechado. However, you can use it freely and without any limitations – learn more here.
Aviso legal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.