AdaptiveMomentumConfluence
- エキスパート
- バージョン: 2.0
- アップデート済み: 17 8月 2026
- アクティベーション: 5
AdaptiveMomentumConfluence (AMC) — adaptive multi-filter expert advisor with an AI filter
A free expert advisor for MetaTrader 5. An ONNX neural model for XAUUSD H1 is built directly into the EX5 — a single file, with no external dependencies.
AdaptiveMomentumConfluence combines classical technical logic with a neural-network confidence filter. The EA automatically determines the asset class (Metal / FX / Index), applies a ready-made parameter profile, and maintains multi-level capital protection. It is optimized for gold and works safely and without errors on other symbols as well.
Why AMC
AI filter right in the file. The ONNX classifier for XAUUSD H1 is compiled inside the EX5 — nothing needs to be downloaded or configured.
Adaptability to the asset. Auto-profile Metal / FX / Index adjusts risk, SL, and trailing to the instrument class.
Multi-filter entry. Higher-timeframe trend + momentum + RSI/Stochastic + ADX + tick volume + candlestick patterns.
Well-designed exit. Partial close at 1R, breakeven, ATR trailing, structural trailing after 2R, smart exit on reversal.
Capital protection. Equity drawdown stop, daily loss limit, pause after a loss, spread, gap, session, and news filters.
Zero order errors. All runs have been verified — not a single order or modification error.
Strategy
Trend context: higher-timeframe EMA (by default H4 EMA on the H1 chart).
Entry modes: Breakout, Pullback, Both, Confluence (default Pullback).
Confluence filters: momentum burst (velocity × ATR), RSI + Stochastic pullback zones, volatility regime (ATR versus ATR-MA), ADX trend strength, tick-volume confirmation.
Soft pullback: candlestick patterns (pin bar / engulfing) + Stochastic divergence.
AI layer (ONNX)
Each signal is evaluated by the classifier; a trade is opened only above the confidence threshold (by default P(win) ≥ 0.48). Optional lot scaling by confidence is available. On other symbols and timeframes, the EA either loads an external model (InpONNXModel) or correctly operates without the AI filter — trading is not blocked.
Exit engine
SL/TP are ATR multiples, capped by a protective maximum SL.
Partial close at 1R with the stop moved to breakeven (or "breakeven only" mode).
ATR trailing with protection against broker levels/freeze and a minimum modification step — no modification spam and no "Invalid stops" errors.
Optional structural trailing by swing lows/highs after 2R.
Smart exit on reversal (only if the trade is below the R threshold).
Symbol auto-profile (v2.0)
Asset class | Examples | Risk | SL | Trail
Metal | XAUUSD, XAGUSD | 6.5% | 1.5×ATR | 0.5×ATR
Index | US30, US500, NAS100, DE40, JP225 | 2.5% | 2.0×ATR | —
FX | currency pairs | 3.0% | 2.0×ATR | —
Disable InpAutoSymbolProfile and the EA will switch to Manual mode with your settings.
Comprehensive protection
Equity drawdown stop and gradual risk reduction as DD grows.
Protection against equity-peak decay, lot reduction after a series of losses.
Daily loss limit, maximum trades per day, pause after a loss.
Maximum spread filter and closed-market gate (no rejected orders at session boundaries).
Gap filter, trading session filter (Asia / London / New York), news filter (CSV calendar).
Info panel
A dark panel on the chart shows the symbol profile (Metal/FX/Index/Manual), ONNX status ([EMB] / [FILE] / [OFF]), stops/freeze/buffer state ([MOD OK] / [MOD BLK]), current risk, and statistics. If rendering is not possible, Comment() is used automatically.
Backtests
Strategy Tester, deposit 3000 USD, leverage 1:500, period 2020.01.01–2026.08.01, 1-minute OHLC tick mode.
Symbol (profile) | Net profit | Trades | PF | Equity DD
XAUUSD H1 (Metal, production set) | +19 404 807 | 3539 | 1.54 | 7.12%
XAUUSD H1 (Metal, defaults) | +10 608 469 | 9503 | 1.29 | 29.18%
XAUUSD H4 (Metal, H4 set) | +272 490 | 2562 | 1.28 | 26.18%
US30Cash H1 (Index, defaults) | +758 088 | 9753 | 1.09 | 26.51%
GBPUSD H1 (FX, defaults) | +119 | 9447 | 1.00 | 73.33%
EURUSD H1 (FX, defaults) | −1 879 | 5992 | 0.98 | 80.56%
The EA is tuned for gold. On other symbols, the auto-profiles keep trading safe and error-free, but profitability on FX pairs with defaults is not claimed.
Requirements and recommendations
Any MT5 broker with XAUUSD; hedging and netting accounts are supported.
Recommended: XAUUSD H1, VPS, ECN account with low spread.
The default Metal risk (6.5%) is aggressive by design of the production profile — for live trading, start with 1–2% risk or a proportional deposit (≥ 500 USD for the defaults).
Fully works in the Strategy Tester, including optimization.
Risk warning
Past backtest results do not guarantee future results. Leveraged trading involves a substantial risk of loss.
