XAU Alloy
- Experts
- Phan Son Anh La
- 버전: 1.0
- 활성화: 5
XAU Alloy — Automated Multi-Strategy Trading EA for XAUUSD
Fully automated trading EA for XAUUSD. No manual trading required.
In backtesting, a $2,000 deposit grew to over $181,000 during more than 5 years on XAUUSD M15 (2021-2026) — a +8,965% return across 33,985 trades with a maximum relative drawdown of 4.93%. Pre-optimized parameters are included — set your lot size and the EA handles the rest.
Why XAU Alloy
This EA was backtested from 2021 to 2026 across multiple market conditions including volatile breakouts, sharp corrections, and prolonged consolidation phases — this is not a short-term curve fit. During the entire backtest period, the balance never dropped more than $1,010.44 below the starting $2,000 deposit. The LR Correlation of 0.94 means the equity curve showed steady growth in backtesting with minimal fluctuations. With 33,985 trades, the results provide sufficient statistical confidence. The Recovery Factor of 24.98 means that for every $1 of drawdown, the EA produced $24.98 in profit during backtesting — anything above 5.0 is generally considered solid. The Additional Order System is not a martingale strategy — it opens a limited number of extra positions during retracements with fixed lot sizes and stop losses.
Backtest Results (XAUUSD M15, 2021 - 2026)
Initial Deposit: $2,000. Total Net Profit: $179,303.24 (+8,965%). Gross Profit: $419,020.96. Gross Loss: -$239,717.72. Profit Factor: 1.75. Expected Payoff: $5.28 per trade. Sharpe Ratio: 1.26.
Maximum Equity Drawdown: 4.93% ($7,176.64). Balance Drawdown Maximal: $6,006.73 (4.14%). Balance Drawdown Absolute: $1,010.44. Recovery Factor: 24.98. LR Correlation: 0.94.
Total Trades: 33,985. Win Rate: 62.75% (Profit: 21,325, Loss: 12,660). Short Trades Won: 63.68% (of 15,186). Long Trades Won: 61.99% (of 18,799). Largest Profit Trade: $118.19. Largest Loss Trade: -$75.52. Average Profit Trade: $19.65. Average Loss Trade: -$18.83. Maximum Consecutive Wins: 321 ($5,940.45). Maximum Consecutive Losses: 106 (-$944.03). Average Consecutive Wins: 21. Average Consecutive Losses: 13.
Backtested on Exness MT5 Real server (Build 5660). Active trading period: January 2021 - March 2026 (over 5 years).
How It Works
XAU Alloy combines multiple independent trading engines into a single EA, each running its own optimized logic on gold. Every engine identifies trend direction and momentum independently, then enters trades when conditions align. This multi-engine architecture means the EA does not rely on a single set of conditions — when one engine is waiting, another may be actively trading, providing natural diversification across different market states.
The EA also features a Retracement-based Additional Order System. When the market retraces against an initial position, the EA places additional entries at calculated price levels. All orders use the same fixed lot size with stop losses. This is not a martingale — each additional entry is designed to improve the average entry price within strict risk limits.
All engines operate independently with separate parameters and their own Magic Numbers, ensuring zero interference between them. This isolation means each engine trades as if it were running alone on the chart.
Key Features
- Multiple independent trading engines running simultaneously on a single chart
- Each engine fully isolated with its own parameters and Magic Number — zero interference
- Retracement-based additional order system with fixed-lot entries and stop losses (not martingale)
- Pre-optimized parameters fine-tuned through extensive backtesting — set your lot size and start
- Built-in safety including automatic volume normalization, stop level validation, margin checks, and error handling
- Designed specifically for XAUUSD (Gold) on M15 — no need to change any settings
- Compatible with any broker that offers XAUUSD
- No manual intervention required after setup
Recommended Settings
Symbol: XAUUSD (Gold vs US Dollar). Timeframe: M15 (15-minute chart). Minimum deposit: $2,000 for 0.01 lot (high risk) or $7,000 (recommended). Account type: Hedging. Leverage: 1:2000 recommended (backtest was performed at 1:2000; lower leverage may require smaller lot sizes). VPS recommended for uninterrupted 24/7 operation.
Deposit and Lot Size
All backtest results above are based on 0.01 lot with a $2,000 initial deposit. The maximum equity drawdown during the backtest was $7,176.64. This is the key number for choosing your deposit — your account must be able to survive this drawdown without margin call.
For 0.01 lot: $2,000 deposit means the $7,176 potential drawdown exceeds the deposit — high risk and only suitable for experienced traders who understand that this drawdown occurred when the account had grown significantly. $7,000 deposit gives enough room to absorb the maximum drawdown — recommended for most traders. $10,000 to $15,000 deposit provides a comfortable safety margin and is suitable for conservative, long-term trading.
The lot size and deposit scale linearly. Multiply both by the same factor. For example, 0.02 lot requires doubling the deposit ($4,000 high risk, $14,000 recommended, $20,000-$30,000 comfortable). For 0.05 lot, multiply by 5 ($10,000 high risk, $35,000 recommended, $50,000-$75,000 comfortable). For 0.1 lot, multiply by 10 ($20,000 high risk, $70,000 recommended, $100,000-$150,000 comfortable).
A larger deposit does not change the EA behavior. It only reduces the drawdown percentage relative to your capital. Always start with the minimum lot size (0.01) on a demo account to verify performance with your broker before going live.
Input Parameters
Magic Number: Unique identifier for this EA. Change if running multiple EAs on the same account. Buy Lot Size: Position size for BUY orders (default: 0.01). Sell Lot Size: Position size for SELL orders (default: 0.01).
How to Use
Attach the EA to an XAUUSD M15 chart. Enable "Allow Algo Trading" in the Common tab. Set your preferred lot sizes in the Inputs tab. The EA will start trading automatically on the next signal. No additional indicators or files required — the EA is completely self-contained.
Risk Disclaimer
Trading in financial markets involves substantial risk of loss and is not suitable for every investor. Past performance, whether actual or indicated by historical tests, does not guarantee future results. Please test this EA on a demo account before using it with real funds. The developer is not responsible for any financial losses incurred through the use of this software. Start with small lot sizes and never risk more than you can afford to lose.
