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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。