Adaptive MultiAgent Quant EA M15 H1
- Эксперты
- Версия: 1.0
- Активации: 5
Overview
Adaptive MultiAgent Quant EA is a fully self-contained MQL5 automated trading system built for MetaTrader 5 (Build 64-bit). Instead of relying on a single static moving-average trigger or fragile point-based pip rules, the EA runs five independent virtual SMA agents (SMA 8, 14, 21, 34, 55) in memory, continuously scoring each agent's spread-aware virtual equity (Ask / Bid) over a rolling bar window (Inp_LeaderboardBars).
Live execution is granted exclusively when the top-ranked active agent signals a disciplined Bollinger Band value-zone pullback aligned with the higher-timeframe trend (H4 / H1 EMA), inside your active server-time trading session (Inp_StartHour-Inp_EndHour), confirmed by ADX trend-regime strength (Inp_UseADXFilter), and under healthy ATR volatility expansion rather than quiet Asian spread chop.
Every position is protected from entry with a hard broker-side Stop-Loss and Take-Profit scaled dynamically to volatility (stop_atr = MathMax(ATR(14), ATR(70))), optional continuous ATR trailing once price crosses your activation threshold, a bar-based non-profit time-stop, and a Prop-Firm Daily Loss & Optional Total Equity Drawdown Guard (Inp_MaxTotalDDPct = 0.0 disabled by default for multi-year robustness; set > 0 for prop-firm challenge lockouts).
Key Features
- In-Memory Multi-Agent Leaderboard: Evaluates 5 virtual SMA agents using shared indicator handles (10 handles total, cleanly released via IndicatorRelease() on deinit) and Ask/Bid spread-adjusted virtual accounting.
- Universal ATR Volatility Normalization: All pullback zones, agent reversal deltas, Stop-Loss, Take-Profit, trailing offsets, and spread tolerances scale automatically with ATR — allowing seamless deployment across Gold (XAUUSD), Forex Majors (EURUSD), and JPY Crosses without hardcoded pip multipliers.
- ADX Range-Chop & Anti-Compression Discipline:
- Inp_UseADXFilter (Inp_ADX_Period, Inp_MinADX) blocks entries during flat sideways chop.
- Inp_MinVolRatio blocks entries during dead low-volatility compression (ATR / SlowATR guard).
- Inp_MaxSpreadATRPct prevents fills during abnormal spread spikes relative to current volatility.
- Inp_BB_PullbackZone and Inp_EntryMaxExt enforce structured pullback entries rather than chasing overextended candles.
- Higher-Timeframe Trend & Session Filtering: Optional server-time session gate (Inp_StartHour to Inp_EndHour) paired with H4 / H1 EMA directional filtering (Inp_TrendTimeframe, Inp_TrendEMAPeriod) avoids counter-trend traps during low-liquidity hours.
- Strict Non-Martingale / Non-Grid Execution: Single-position risk sizing based on account equity/balance, broker tick value/size, and SYMBOL_VOLUME_STEP (MathFloor + margin cap via OrderCalcMargin() + pre-trade OrderCheck() + SYMBOL_TRADE_STOPS_LEVEL / FREEZE_LEVEL compliance).
- Prop-Firm Drawdown Protection & Optional ATR Trailing: Daily Loss (Inp_MaxDailyLossPct) circuit breaker resets each server day, while optional latched Total Drawdown (Inp_MaxTotalDDPct > 0) handles strict challenge caps; optional ATR trailing activates cleanly after Inp_TrailStartATR.
- Lightweight On-Chart HUD & Cloud-Validator Ready: Real-time dashboard (MAQ_HUD_) displays regime, leading agent, spread/ATR ratio, and drawdown headroom; deterministic MQL_TESTER validation guard ensures smooth MQL5 Market automated checking across symbols and timeframes.
Recommended Setup & Presets
- Primary Symbols: XAUUSD (Gold), EURUSD (compatible with USDJPY and major FX pairs)
- Primary Timeframe: M15 (also supports H1)
- Minimum Capital: $1,000+ recommended ($500 supported on 0.01 micro-lots; $10,000 recommended for standard prop-firm risk scaling)
- Account Type & Broker: ECN / Raw Spread account (tight spreads & fast execution; hedging or netting single-position flow)
- Leverage: 1:30 to 1:500 (1:100 tested baseline)
- Execution Infrastructure: Low-latency MT5 VPS recommended for uninterrupted 24/5 market operation
Multi-Year Walk-Forward & Blindtest Profile (2023-2026, Strategy Tester Baseline, $10,000 USD, 1:100, Model=1, 0 Runtime Errors)
- XAUUSD M15 (XAUUSD_M15_Pro.set): 2023: 40 Trades, +265.44 USD, PF 1.13, WR 45.0%, Max DD 9.97% | 2024: 39 Trades, +923.76 USD, PF 1.48, WR 51.3%, Max DD 4.97% | 2025: 51 Trades, +1,622.99 USD, PF 1.69, WR 54.9%, Max DD 5.12% | 2026 OOS (Jan-Sep): 38 Trades, +1,485.79 USD, PF 2.04, WR 57.9%, Max DD 4.29% (Every-Tick Model=0: +1,487.35 USD, PF 2.04, Max DD 4.30%).
- EURUSD M15 (EURUSD_M15_Pro.set): 2023: 62 Trades, +1,108.17 USD, PF 1.30, WR 41.9%, Max DD 7.00% | 2024: 53 Trades, +178.07 USD, PF 1.05, WR 39.6%, Max DD 9.64% | 2025: 40 Trades, +104.05 USD, PF 1.04, WR 37.5%, Max DD 8.09% | 2026 OOS (Jan-Sep): 40 Trades, +1,923.13 USD, PF 1.93, WR 52.5%, Max DD 3.37% (Every-Tick Model=0: +1,933.16 USD, PF 1.93, Max DD 3.38%).
Realistic Risk Disclaimer
Trading Forex, Gold (XAUUSD), and leveraged CFDs carries a high level of financial risk and may not be suitable for all investors. Past performance, Strategy Tester simulations, and Walk-Forward results are not indicative of future results. Trend-following and pullback strategies can experience extended drawdown periods and consecutive losing streaks during prolonged ranging or low-volatility market regimes, which can trigger the built-in daily or total drawdown circuit breakers and reduce trade frequency until market conditions normalize or account parameters are reviewed. Spread widening, broker commissions, swaps, and slippage can materially impact live results compared to simulated tests. Never trade with capital you cannot afford to lose. Always validate the Expert Advisor and presets thoroughly on a demo account under your specific broker's contract specifications and server time offset before deploying live funds.
