OPEN-SOURCE SCRIPT
BRC High/Low + Retest + Sweep

🧭 Overview
The BRC System (Break–Retest–Claim) is a structured breakout-retest strategy that automatically identifies new highs or lows, confirms liquidity sweeps, and highlights high-probability reclaim zones. It supports both long and short setups with adaptive zone shading and full-session awareness.
⚙️ Core Features
✅ Dual-Side Logic: Detects both bullish (Break–Retest–Reclaim) and bearish (Breakdown–Retest–Reclaim) setups.
✅ Liquidity Sweep Mode: Captures false breakouts (sweep-and-reclaim) for advanced liquidity-based trading.
✅ Adaptive Shading:
🟩 Green — Long bias
🟥 Red — Short bias
⬜ Grey — Neutral (weak ADX)
✅ EMA + ADX Trend Filters: Confirms direction using higher-timeframe momentum.
✅ Configurable Profiles: Pre-tuned for Gold day-trades and EUR/USD swings (customizable mode included).
✅ Compact Dashboard: Shows active profile, trend timeframe, ADX, bias direction, and win/loss stats for the last N trades.
✅ Abbreviated Labels (toggle): RL = Retest Long | SL = Sweep Long | RS = Retest Short | SS = Sweep Short.
✅ Dynamic Zones: Automatically updates breakout-retest areas with visual boxes extending forward.
📊 How It Works
Detects a new swing high/low breakout within a chosen lookback range.
Waits for retest of the broken level (or reclaim after liquidity sweep).
Confirms entry when body closes in trend direction + ADX/EMA filters pass.
Tracks outcomes with auto-calculated win % dashboard.
💡 Best Use
Use on Gold (XAUUSD) for intraday scalps or EUR/USD for swing trades.
Works across timeframes — best visual clarity on M15–H4.
Integrate with your risk-reward or alert-triggered execution system.
The BRC System (Break–Retest–Claim) is a structured breakout-retest strategy that automatically identifies new highs or lows, confirms liquidity sweeps, and highlights high-probability reclaim zones. It supports both long and short setups with adaptive zone shading and full-session awareness.
⚙️ Core Features
✅ Dual-Side Logic: Detects both bullish (Break–Retest–Reclaim) and bearish (Breakdown–Retest–Reclaim) setups.
✅ Liquidity Sweep Mode: Captures false breakouts (sweep-and-reclaim) for advanced liquidity-based trading.
✅ Adaptive Shading:
🟩 Green — Long bias
🟥 Red — Short bias
⬜ Grey — Neutral (weak ADX)
✅ EMA + ADX Trend Filters: Confirms direction using higher-timeframe momentum.
✅ Configurable Profiles: Pre-tuned for Gold day-trades and EUR/USD swings (customizable mode included).
✅ Compact Dashboard: Shows active profile, trend timeframe, ADX, bias direction, and win/loss stats for the last N trades.
✅ Abbreviated Labels (toggle): RL = Retest Long | SL = Sweep Long | RS = Retest Short | SS = Sweep Short.
✅ Dynamic Zones: Automatically updates breakout-retest areas with visual boxes extending forward.
📊 How It Works
Detects a new swing high/low breakout within a chosen lookback range.
Waits for retest of the broken level (or reclaim after liquidity sweep).
Confirms entry when body closes in trend direction + ADX/EMA filters pass.
Tracks outcomes with auto-calculated win % dashboard.
💡 Best Use
Use on Gold (XAUUSD) for intraday scalps or EUR/USD for swing trades.
Works across timeframes — best visual clarity on M15–H4.
Integrate with your risk-reward or alert-triggered execution system.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน