SR Zone Auto EA
Standalone MT5 Support & Resistance Zone EA with 100% causal closed-bar zone clustering, 0–100 strength scoring, Room-to-Next-Zone gating, and three institutional playbooks (Polarity Flip, Zone Bounce, Compressed Breakout) across an 8-slot single-chart portfolio.
Key features
- 100% causal closed-bar structural S/R zone clustering with ATR merging, D1 HTF confluence, Sunday-stub-free PDH/PDL/PWH/PWL key levels, and deterministic 0–100 strength scoring (Grades A/B/C).
- Three institutional S/R playbooks: S/R Polarity Flip & Retest (FLIP), High-Score Zone Bounce (BOUNCE), and Compressed Zone Structural Breakout (BREAK).
- Room-to-Next-Zone gating measures free distance in R multiples to the nearest intact opposing zone before entering.
- Single-chart 8-slot curated portfolio (attach to XAUUSD M30) across 7 markets (XAUUSD, GBPUSD, GBPCAD, CHFJPY, EURJPY, USTEC, US500), plus Chart-Only and Custom CSV modes.
- Zero martingale, zero grid, zero DLL, zero WebRequest: hard server-side zone-anchored stops, ATR Chandelier trailing, balance DD risk step-down, currency/group exposure caps, DST clock, and native MT5 Calendar news filter.
- High-DPI CCanvas dashboard verified at 100% and 200% DPI in Dark and Light themes with Pause EA and 2-step Close All.
Video
Demo and walk-through of SR Zone Auto EA.
Full description
The complete feature description, as published on the MQL5 Market.
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 (
XAUUSDH1 & H4 Flip,GBPUSDH1 Flip,GBPCADH4 Flip,CHFJPYH4 Flip,EURJPYH4 Zone Bounce,USTECH4 Zone Bounce, andUS500H1 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_LIMITclamping, 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
CCanvasTerminal 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 FlipRetestandUSTEC 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
.setpreset, 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.
Quick start
From purchase to a running expert advisor in a few minutes. Details in the install guide.
- Get the EA on the MQL5 Market page: buy, rent or download the free demo. Inside MetaTrader 5 you can also open the Market tab of the Toolbox and install it from there.
- It appears in the Navigator under Expert Advisors › Market. Open the chart named in the description (symbol and timeframe) and drag the EA onto it.
- On the Common tab tick Allow Algo Trading, and switch on the Algo Trading button in the toolbar.
- On the Inputs tab choose a risk profile, or press Load to apply a .set preset if the product ships one.
- Run it in the Strategy Tester and on a demo account first, with your own broker's data, before you trade real money.
Backtest and simulation figures are not a guarantee of future results. Trading involves risk; use risk you can afford to lose. See the risk disclaimer.
More expert advisors
Session Breakout Portfolio EA
A session-range breakout portfolio for gold, the Nikkei and the yen, traded from one chart.
Gold Edge Portfolio EA
Gold Edge Portfolio EA trades XAUUSD with six independent, simple strategies at the same time.
Index Portfolio EA
Three intraday strategies on four stock indices – US30, US100, US500 and GER40 – traded from one chart.
Bitcoin Trend Rider EA
Bitcoin Trend Rider EA is a trend-following and volatility-breakout Expert Advisor for BTCUSD, ETHUSD and other crypto CFDs.

