OPEN-SOURCE SCRIPT

Gold Sniper (Liquidity Sweep)

71
Concept: Stop Hunting the "Smart Money" Way Most traders lose money because they enter exactly where "Smart Money" is looking to trigger Stop Losses. We have all been there: You buy at support, the price dips just below your stop loss, takes you out, and then rockets up without you.

Gold Sniper is designed to capitalize on this exact behavior. Instead of buying the support, this script waits for the Liquidity Sweep (the "Stop Hunt"). It identifies when price breaks a key structure level to trap sellers, and signals an entry only when the price reclaims that level with momentum.

How It Works (The Logic) This indicator looks for a specific "Perfect Storm" setup using a 4-step confirmation process:

Identifies Support (Yellow Dots): It tracks local pivot lows (default 10 bars) to visualize the "Floor" where retail traders likely have their stop losses.

Detects the Sweep: It waits for price to drop below these yellow dots. This is the "Trap" phase where liquidity is grabbed.

Confirms the Reclaim: It does NOT catch the falling knife. It waits for a candle to close back ABOVE the broken support level.

Momentum Check (RSI): It ensures internal strength (RSI) is rising compared to the previous low, confirming that the drop was a trap, not a genuine crash.

Visual Features

Yellow Dots: Dynamic Support Levels / Pivot Lows.

"SWEEP BUY" Label: Signals exactly when the trap is complete and the reclaim has occurred.

Red Line (Hard Stop): Automatically draws a Stop Loss level at the lowest point of the sweep candle.

How to Use This Strategy

Wait for the Setup: Do not trade if price is just drifting. Wait for price to challenge and break the Yellow Dots.

The Trigger: Enter immediately on the Close of the candle with the "SWEEP BUY" label.

Stop Loss: Place your Hard Stop at the Red Line provided by the indicator.

Rule: If price touches the Red Line, the setup has failed (it was a real crash, not a sweep). Exit immediately.

Best Timeframes: Optimized for 1-Minute and 5-Minute scalping on Gold (XAUUSD) and Futures, but works on all liquid assets.

Settings

Pivot Lookback: How many bars back to check for the support floor (Default: 10).

RSI Length: Sensitivity of the momentum filter (Default: 14).

Disclaimer: This tool is for educational purposes and market analysis only. It identifies high-probability "Liquidity Sweep" setups but does not guarantee future results. Always manage your risk.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน