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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。