Quantum Aurum Sentinel
- Experts
- Versione: 1.1
- Aggiornato: 24 novembre 2026
- Attivazioni: 20
=====================================================================
PRODUCT NAME
Quantum Aurum Sentinel (XAUUSD, MT5)
SHORT DESCRIPTION (one line, for the product card)
Seven independent gold strategies in one EA - machine-learning H1 signals with a market-novelty filter, trend,
smart-money, value-area and TWAP streams, plus an optional news mode. XAUUSD, M15, hedging account.
=====================================================================
FULL DESCRIPTION
Quantum Aurum Sentinel is an Expert Advisor for gold (XAUUSD) on MetaTrader 5. It runs up to six strategies side by
side. Each strategy has its own position, stop loss, take profit and risk setting, so their results add up instead
of interfering with each other. Every trade has a stop loss from the moment it is opened. No grid, no martingale, no
averaging down.
THE STRATEGIES
1. H1 machine-learning signal (2% risk by default)
A gradient-boosted model scores every H1 close from multi-timeframe features (M1 to D1). The features were
chosen with quantum-inspired optimisation (the selection is written as a QUBO problem and solved by annealing on
a classical computer - the EA does not need or use a quantum computer). Only the strongest 20% of
recent scores are traded; positions are held for 6 hours with a stop of 3 x M5 ATR(7).
- Novelty filter: before each entry, the current market is compared with ~46,600 past H1 closes (K-nearest
neighbours on 211 scale-free features). When the market looks unlike anything the model has seen, the entry is
skipped (or taken at half size).
- Optional filters: US dollar trend, real-yield trend, COT positioning, H1 order-block veto.
2. EMA 7/21 cascade (1%) - trades H1 trend when the higher timeframes agree, with an ADX and order-block check;
1:3 reward-to-risk, 24-hour time exit.
3. Smart-money stream (1%) - M15 fair-value-gap fills and trendline touches in the direction of seven trend gates;
stop 3 x M1 ATR(7), 1:3.
4. Market-value stream (1%) - H1 value-area migration (point-of-control shift with volume confirmation); 1:3.
5. TWAP + VWAP stream (1% per line) - slope-and-cross entries on the daily TWAP and the daily VWAP, side by side.
Each quarter the EA re-selects the best TWAP setting and the best VWAP setting (9 each: signal M1 / M5 / M15 x
stop M5 / M15 / H1) on the previous 365 days of its own M1 history (walk-forward, no fixed curve fit); both trade,
each with its own position.
6. MSS OB
pending orders at 5m 15m mss ob's, 1h off by default.
7. News mode (optional, off by default) - trades high-impact US releases (payrolls, CPI, PCE, GDP, unemployment,
earnings) from MetaTrader's economic calendar: hawkish surprise vs the previous value -> sell gold, dovish -> buy;
stop 3 x M1 ATR(7), target 9 x ATR, 4-hour limit. Every release is logged with the time the figure arrived.
Update 1.1:
Can trade mss ob's. It can have significant dd. You might switch this one off.
RISK CONTROLS
- Every order is checked before it is sent: trading allowed, trading session open, volume limits, free margin and
the broker's minimum stop distance. An order that cannot be valid is skipped, never forced.
- Position size from a % of balance at the stop, including spread and commission.
- Every strategy can be switched off or resized individually.
- News blackout (default): no new entries around high-impact news.
- Friday close before the weekend.
- Maximum spread filter.
- Optional chop filter (off by default): no new entries while the hourly Kaufman Efficiency Ratio shows a
directionless, choppy market. In the 2025-2026 test it lowered the worst drawdown from 50% to 48% and the
profit factor rose from 1.27 to 1.33, at a lower total return.
- Separate magic number per strategy - easy to follow in the history.
REQUIREMENTS
- Designed for XAUUSD (gold) on an M15 chart; ECN / raw-spread account recommended.
- On other symbols the EA also runs, but only the four price-action strategies (cascade, smart-money, market-value,
TWAP) trade; the machine-learning model, novelty filter, macro filters and news mode are gold-only. These four
streams were developed on gold - on other symbols they are untested and lost money in a short 2026 check.
- Hedging account (several positions at once).
- At least 12 months of M1 history in the terminal.
- Deposit: each strategy switches itself on from its own minimum balance (standard account, 0.01 lot = 1 oz):
$1,000 machine-learning model and smart-money, $1,500 TWAP/VWAP, $3,000 EMA cascade, $4,000 value-area -
all five from $4,000; $10,000 recommended for full position sizing. On a cent account divide by 100. VTMarkets broker offers cent accounts.
- VPS recommended (the EA works on bar closes and needs to run continuously).
SETUP: ALLOW THESE WEB ADDRESSES (needed for the macro filters)
The US-dollar-trend filter (on by default), the real-yield filter and the COT filter download public data once a day.
MetaTrader only allows this for addresses you list:
Tools > Options > Expert Advisors > tick "Allow WebRequest for listed URL" and add these three lines:
https://data-api.ecb.europa.eu
https://publicreporting.cftc.gov
(ECB exchange rates for the dollar index, US Treasury real yields, CFTC Commitments of Traders.)
If they are not allowed, the EA still trades: the filters then let every signal through, and the Experts log shows
"allow the site in Tools > Options > Expert Advisors > WebRequest". The Strategy Tester cannot download, so the
filters are inactive in backtests unless macro_XAUUSD.csv is placed in the terminals' Common\Files folder.
No other internet access is used. The news mode reads MetaTrader's built-in economic calendar (no URL needed).
MAIN INPUTS
RiskPct (H1 model) 2.0 CascadeRiskPct 1.0 SmcRiskPct 1.0 MvoRiskPct 1.0 TwapRiskPct 0.5
Use* switches turn each strategy on / off
UseNovelty true (NoveltyAction skip / half, NoveltyTopPct 10 / 20 / 30)
NewsMode blackout (default) / trade / off; NewsRiskPct 1.0
FridayClose true, 21:00 server time
MaxSpread 0.50
Magic base magic number (each strategy adds its own offset)
BACKTEST (MT5 Strategy Tester, XAUUSD-ECN, M15, 1-minute OHLC, $10,000 start, compounding, default risks)
2025: +2,714%, maximum balance drawdown 50.1%
2026 (to 20 Nov): +4,495%, maximum balance drawdown 41.1%
Profit factor 1.27, 4,245 trades
Please read the notes below before judging these numbers.
IMPORTANT - READ BEFORE BUYING
- Past results, including backtests, do not guarantee future results. Trading gold with leverage can lose your whole
deposit.
- The default risk is AGGRESSIVE: several strategies at 1-2% each can be open together, and the backtest drawdowns
reached 41-50%. Most users should start at half the default risks or lower (in research this cut the 2025 / 2026
drawdowns to about 25% / 17%, with much lower returns).
- Parts of the configuration were chosen with 2025-2026 data available, so the 2025-2026 backtest is partly
in-sample. In a walk-forward test of 2021-2024 at the default risks, the combination lost in three of four years
(2021 -66%, 2022 -35%, 2023 -61%, 2024 +237%) with drawdowns up to 84%.
- The news mode is experimental: its historical edge depends on receiving the release figure within about a second,
and on 2021-2023 data it showed no edge. Keep it off unless you have tested it on a demo account.
- Test on a demo account first.
=====================================================================
NOTES FOR THE SELLER (not part of the description) - status for a Market upload (ea7 1.8.0)
DONE
- 1.2.0: runs on any symbol / timeframe without INIT_FAILED; trades on EURUSD, GBPUSD, BTCUSD and XAUUSD in the
tester (2026-09-01 .. 11-20) with no trade-server errors (no invalid volume / stops, no "not enough money", no
"market closed"; a $1,000 EURUSD run also clean).
- 1.3.0: the novelty data is compiled into the .ex5 (no extra file for buyers); tested with the file absent:
identical result (XAUUSD M15 414 trades, +$8,037.87).
- 1.3.1: no close / modify of a position whose stop or target is inside the broker's freeze level (the first
validation failed with "close to market" on EURUSD 2024-06-17); the six tester runs incl. EURUSD 2024-05..07 are
clean (VT's demo has no freeze level, so the new check itself is only exercised by the validator).
STILL OPEN
1. The .ex5 is ~27.8 MB because of the novelty data - check the Market's product size limit when uploading.
2. WebRequest: check that MQL5 currently allows WebRequest in Market products (the three URLs above). If not,
set UseDollarTrend = false by default (the EA works without it).
3. Product name: do not use the code names (mgpt_llama...).
4. Keep the drawdown and walk-forward notes in the text; moderators reject one-sided claims.
5. A live or demo signal will matter more to buyers than the backtest.
6. Upload 1.3.1 to the validator again and read its report (1.3.0 failed only on the freeze level).
