Gold Trap Hunter (Auto-Structure & Liquidity Sweeps)
Feb 1, 2026

The Gold Trap Hunter (Auto-Structure & Liquidity Sweeps) indicator identifies and visualizes market structure shifts and liquidity traps to help traders avoid fake breakouts and find high-probability reversal points.
Usage
The Usage section focuses on how to interpret the visual cues provided by the tool to align with institutional order flow.
- Structure Boxes: The background boxes represent the Higher Timeframe (HTF) market structure. A green box indicates a bullish structure (Higher Highs), while a red box indicates a bearish structure (Lower Lows).
- SWEEP Signals: These labels appear when the price breaches a previous structure's high or low but fails to close beyond it. This "trap" suggests that liquidity has been grabbed and a reversal is likely.
- Green Sweep: Occurs when price dips below a previous low and closes back above it, signaling a bullish reversal.
- Red Sweep: Occurs when price pushes above a previous high and closes back below it, signaling a bearish reversal.
- Noise Filtering: The script colors candles based on trend alignment. Gray candles represent "noise" or price action that is conflicting with the established structure, suggesting a period where caution is advised.
Details
The script operates on the concept of "Smart Money" liquidity sweeps. In many market scenarios, institutional algorithms drive price beyond key levels to trigger retail stop losses (liquidity) before reversing the trend.
The indicator automatically calculates the Higher Timeframe structure relative to your current chart. For instance, if you are viewing a 15-minute chart, the script can be set to automatically track the 4-hour structure. This ensures that every signal is filtered through the lens of the broader market trend, reducing the impact of low-timeframe volatility.
Settings
- Structure Interval: Determines the timeframe used for calculating the structure boxes. It can be set to a specific timeframe or left on a relative setting.
- Bullish/Bearish Fill & Border: Customizes the background colors and borders for the market structure boxes.
- Noise Candle Color: Defines the color used for candles that do not align with the current trend momentum and structure.
FAQ
How do I use the SWEEP signal effectively?
The most reliable way to trade the SWEEP signal is to wait for it to align with the background structure. For example, look for a Green Sweep (Bullish) when the background box is Green (Bullish Structure).
What does "Noise" signify?
Gray candles indicate that the price action is currently choppy or lacks a clear directional bias that aligns with the higher timeframe trend, suggesting it may be a poor time to enter a position.
How can I access Gold Trap Hunter (Auto-Structure & Liquidity Sweeps)?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
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.