SR Zone Auto EA
- Experts
- Versione: 1.0
- Attivazioni: 10
SR Zone Auto EA is a standalone MetaTrader 5 Expert Advisor built around a 100% causal, closed-bar Structural Support & Resistance Zone Engine. Instead of relying on repainting lines, external iCustom indicators, or risky grid/martingale recovery baskets, it clusters confirmed multi-timeframe swing zones, scores every zone objectively from 0 to 100, measures unobstructed room to the next opposing barrier, and executes three distinct institutional S/R playbooks with physical server-side stops.
Core Structural S/R Zone Engine (100% Causal, Zero Repainting)
- Adaptive Structural Zone Clustering: Detects confirmed swing highs and lows strictly after right-bar confirmation closes, merging nearby levels within an ATR tolerance into clean horizontal support and resistance zones.
- Higher-Timeframe Confluence & Sunday-Stub-Free Key Levels: Layers causal Higher-Timeframe (D1) S/R zones plus Prior-Day (PDH/PDL) and Prior-Week (PWH/PWL) key levels while automatically skipping short Sunday stub D1 candles on GMT+0 brokers.
- Deterministic 0–100 Zone Strength Score (Grades A / B / C): Scores every active zone strictly from completed historical price action using touch counts, verified holds, break counts, polarity-flip status, tick-volume strength, and HTF confluence.
- Room-to-Next-Zone Gating: Measures the free distance (in R multiples of Stop-Loss) to the nearest intact opposing S/R zone before entering, preventing low-quality trades directly into nearby resistance or support barriers.
Three Institutional S/R Execution Playbooks
- 1. S/R Polarity Flip & Retest ( FLIP ): Tracks decisive closed-bar breakouts that flip Resistance into Support (or Support into Resistance), then enters on a bounded pullback rejection retest of the flipped zone aligned with Higher-Timeframe trend bias and ATR Chandelier trailing.
- 2. High-Score Zone Bounce ( BOUNCE ): Trades causal closed-bar rejection bounces off heavily tested, high-strength intact S/R zones inside bounded-ADX regimes, with Room-to-Next-Zone filtering and optional Hybrid Opposing-Zone Take-Profit.
- 3. Compressed Zone Structural Breakout ( BREAK ): Captures directional breakouts through established horizontal S/R barriers after volatility compression (short/long ATR coil), gated by HTF trend alignment, Kaufman Efficiency Ratio, and unobstructed room ahead.
Single-Chart 8-Slot Precision Multi-Market Portfolio
- One-Chart Deployment: Attach to a single XAUUSD M30 chart to execute 8 curated, quality-weighted engines across 7 liquid markets ( XAUUSD H1 & H4 Flip, GBPUSD H1 Flip, GBPCAD H4 Flip, CHFJPY H4 Flip, EURJPY H4 Zone Bounce, USTEC H4 Zone Bounce, and US500 H1 Compressed Breakout).
- Automatic Broker Symbol Resolution: Auto-detects broker prefixes, suffixes ( .a , + , m , .pro ), and index aliases ( US500/SP500 , USTEC/NAS100/US100 ) while strictly rejecting non-tradable close-only symbols and exchange stock/ETF ticker collisions.
- Custom Portfolio & Single-Chart Modes: Switch easily to Chart Symbol Only mode or supply any custom comma-separated symbol list with your preferred S/R playbook and timeframe.
Institutional Risk Control & Prop-Firm Safety
- Zero Martingale, Zero Grid, Zero Averaging Down: Every trade carries a physical server-side Stop-Loss anchored beyond the structural zone boundary plus ATR buffer, plus Take-Profit, optional TP1 Partial Close, Breakeven lock, closed-bar ATR Chandelier trailing, and Max-Hold time exit.
- Automatic Balance Drawdown Risk Step-Down: Trades full risk near equity/balance highs, automatically scales lot risk down while below peak balance by a configurable percentage, and restores full risk automatically upon recovery.
- Correlated Exposure & Execution Guards: Enforces maximum simultaneous open positions, maximum same-direction currency exposure, maximum positions per asset group, spread-to-ATR cap, min-lot risk overshoot cap, broker SYMBOL_VOLUME_LIMIT clamping, free-margin scaling, and cold-start history warmup.
- DST-Aware Session, Rollover & Native MT5 Calendar News Filter: Automatically handles US/EU Daylight Saving Time, midnight NY-close rollover blackout, optional Friday cutoff, and built-in MT5 Economic Calendar high-impact news filtering (zero DLL, zero WebRequest) with persistent Prop-Firm Daily Loss and Max Equity Drawdown circuit breakers.
High-DPI Institutional Canvas Dashboard & On-Chart Zones
- Crisp On-Chart S/R Overlay: Plots translucent Support (teal), Resistance (coral), and Polarity Flip (amber) zones with live strength grade tags (e.g. 84A 3x HTF , FLIP-SUP ) and complete cleanup on removal.
- High-DPI CCanvas Terminal Panel: Verified at 100% and 200% DPI with zero text clipping and right-axis price clearance, featuring Dark and Light themes, draggable and collapsible header, per-slot live zone grade and bias telemetry, Pause EA toggle, and 2-step Close All safety button.
Included Verified Presets ( sets/ )
- Balanced Default Portfolio ( XAUUSD M30 , 0.85% risk + 8% DD step-down) — built-in default configuration.
- Prop-Firm Low-DD Portfolio ( XAUUSD M30 , 0.26% risk + 3.5% DD step-down + 4.0% daily / 9.0% max DD circuit breakers).
- Growth Compound Portfolio ( XAUUSD M30 , 1.05% risk + 8% DD step-down).
- Single-Chart Featured Setups: XAUUSD H1 FlipRetest and USTEC H4 ZoneBounce .
Quick Setup
- Open a single XAUUSD M30 chart on a hedging or netting MT5 account with raw/low spreads.
- Attach SR Zone Auto EA with default settings (Balanced Portfolio) or load any included .set preset, then enable Algo Trading.
- For backtesting the curated portfolio in the Strategy Tester, select XAUUSD M30 and run on 1 minute OHLC or Every tick based on real ticks.
Risk Disclaimer: Historical MetaTrader 5 Strategy Tester results are provided for evaluation purposes only. Past performance does not guarantee future live trading results. Always verify behavior on a demo account before trading live capital.

