CRT Sweep & Setup Highlighter
By LuxAlgoJul 6, 2026

The CRT Sweep & Setup Highlighter indicator provides a professional workflow for identifying liquidity sweeps based on higher timeframe levels, allowing traders to confirm trade setups through Fair Value Gaps or Market Structure Shifts. By automatically projecting previous session ranges and highlighting valid entry triggers, this tool simplifies complex price action concepts into actionable visual cues.
Usage
The CRT Sweep & Setup Highlighter is designed to help traders execute strategies centered around institutional liquidity. It functions by tracking a defined higher timeframe and marking the high and low of the previous period. When price sweeps these levels and produces a subsequent confirmation signal, the indicator marks the setup.
Trading Workflow
- HTF Context: Select a higher timeframe (e.g., 60 minutes) to establish the liquidity levels. The script automatically draws support and resistance lines based on the previous period's high and low.
- Manipulation Detection: The indicator watches for price to violate the previous high or low. Once the minimum break value is met, the area is highlighted as a manipulation zone.
- Setup Confirmation: After a sweep, the indicator monitors for a Fair Value Gap (FVG) or a Market Structure Shift (MSS). When these conditions are met, the setup is confirmed and potential risk to reward parameters are projected.
- Cleanup: When the "Only Keep Visuals if Setup Found" option is enabled, the indicator will remove previous drawings if a specific trade setup did not occur, keeping your chart clean and focused on valid opportunities.
Details
The script leverages Pine Script v6 to calculate and visualize price action movements in real time. It monitors the high and low of the previous higher timeframe block to detect liquidity sweeps. A sweep is defined as a candle that breaks a level and closes back within the range, indicating a potential reversal or liquidity grab.
Once a sweep occurs, the indicator enters a detection state. It uses pivot logic to identify potential Market Structure Shifts (MSS) or price imbalances via Fair Value Gaps (FVG). When a valid setup is detected, the script calculates a risk to reward projection, drawing boxes and lines to visualize the entry, stop loss, and take profit zones, aiding in efficient trade management.
Settings
Settings
- Higher Timeframe: Sets the timeframe used for the reference support and resistance levels.
- Setup Type: Determines which confirmation signals to look for: FVG, MSS, Both, or None.
- Draw Risk:Reward: Toggles the visualization of the entry, stop loss, and take profit zones on the chart.
- Only Keep Visuals if Setup Found: Removes previous HTF markers if no setup was triggered during that timeframe.
Manipulation Rules
- Minimum Break Type: Choose between Ticks or Percentage to define how far the price must deviate from the high or low to trigger a sweep.
- Minimum Break Value: The numerical value for the break sensitivity.
Style
- Bullish/Bearish Background: Defines the colors for the HTF period body.
- Border & Wick Color: Adjusts the styling for the HTF range visualization.
- Support & Resistance Color: Sets the line color for projected HTF levels.
- Manipulation Box Color: Changes the fill color for identified liquidity sweeps.
- Label Text Color: Sets the color for the manipulation labels.
- RR Profit/Loss Color: Customizes the visual zones for projected trade outcomes.
FAQ
How do I access the CRT Sweep & Setup Highlighter? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Can this indicator be used on any asset? Yes, the script is designed to be asset agnostic and works on forex, crypto, stocks, and commodities, provided there is enough historical data to generate the higher timeframe levels.
Does this provide buy and sell signals? This tool provides setup alerts and visual highlights based on price action rules. It is intended to assist your analysis rather than act as an automated trading system. Always conduct your own due diligence before entering trades.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.