AurumAlert
- Uzmanlar
- Samuel Yip Jing Han
- Sürüm: 6.0
- Etkinleştirmeler: 10
AurumAlert — CCI Gold Swing EA v6
A fully automated MetaTrader 5 Expert Advisor for swing trading XAUUSD (Gold) on the H1 timeframe. AurumAlert combines a dual-CCI crossover system with divergence detection, an ADX trend filter, and an H1 RSI confirmation layer to identify high-probability trend-following entries on Gold. The ATR trailing stop rides extended moves and locks in profit progressively.
Technical support is provided for XAUUSD H1 only. Hedging account required.Full documentation file will be provided after purchase. Kindly PM me for the file.
📊 Backtest Results — 2020 to 2025 (XAUUSD H1)
Tested on Pepperstone Group Limited historical data at 98% tick quality. Starting balance: SGD $3,000 at 1:100 leverage. All default parameters.
| Metric | Value | Metric | Value |
|---|---|---|---|
| Test Period | 2020.01.01 – 2025.12.31 | History Quality | 98% |
| Total Net Profit | +$2,071.22 | Final Balance | $5,071.22 |
| Total Trades | 283 | Win Rate | 77.03% (218/283) |
| Profit Factor | 1.63 | Expected Payoff | $7.32 / trade |
| Sharpe Ratio | 1.62 | Recovery Factor | 3.33 |
| Max Balance Drawdown | $584.81 (17.29%) | Max Equity Drawdown | $621.23 (18.26%) |
| Avg Profit Trade | $24.61 | Avg Loss Trade | -$50.68 |
| Long Trades Won | 77.36% (265 trades) | Short Trades Won | 72.22% (18 trades) |
| Max Consecutive Wins | 15 ($282.88) | Max Consecutive Losses | 4 (-$106.98) |
Past backtest results do not guarantee future performance. The strategy tester cannot replicate live spread widening, slippage, or requotes.
📅 Year-by-Year Breakdown
| Year | Trades | Win Rate | Net P&L | Min Hold | Avg Hold | Max Hold |
|---|---|---|---|---|---|---|
| 2020 | 58 | 74.1% | +$231 | 4h 19m | 3d 21h | 20d 8h |
| 2021 | 34 | 61.8% | -$216 | 3h 45m | 6d 5h | 22d 12h |
| 2022 | 38 | 65.8% | -$61 | 9h 5m | 4d 20h | 13d 22h |
| 2023 | 38 | 84.2% | +$239 | 7h 15m | 5d 8h | 16d 12h |
| 2024 | 49 | 79.6% | +$197 | 1h 32m | 4d 20h | 31d 19h |
| 2025 | 66 | 87.9% | +$1,682 | 2h 4m | 2d 23h | 11d 6h |
| Total | 283 | 77.0% | +$2,071 | 1h 32m | 4d 10h | 31d 19h |
2021 and 2022 were loss years — Gold was in a choppy, mean-reverting range during the Fed tightening cycle. This is expected for any trend-following system. The account survived both loss years without margin risk, and recovered fully in 2023 when Gold resumed directional behaviour.
Live signals: https://www.mql5.com/en/signals/2350211
⚙ How It Works
The EA evaluates a multi-layered signal pipeline on every new bar. No trade is placed unless the full stack of conditions is satisfied simultaneously — partial signals are ignored.
Signal Architecture
The EA combines momentum, trend direction, and trend strength indicators across multiple timeframes to form a composite entry decision. Each layer serves a distinct filtering role: one governs the primary entry trigger, another confirms the prevailing trend bias, and a third gates entries during low-momentum or ranging market conditions. An additional higher-timeframe oscillator filter is applied to avoid entries against extended overextension.
Entry Conditions
Both long and short entries require agreement across all signal layers simultaneously. The EA supports three entry modes per direction: a standard trend-following path, an alternative counter-exhaustion path, and a divergence-based path where price action and momentum diverge. Each path has its own eligibility criteria and is evaluated independently on every bar.
Trade Management
Each position uses a two-phase stop management system. An initial fixed stop is placed at entry to define maximum risk. Once the trade develops sufficiently toward the profit target, a dynamic trailing stop activates — ratcheting in the direction of the trade and never reversing. This allows the EA to capture extended trending moves in Gold while systematically locking in accumulated profit. All stop modifications include a broker compatibility check before execution.
Exit Logic
Trades exit via take profit, stop loss, or trailing stop trigger. There is no time-based exit. The trailing stop mechanism is designed to close positions on confirmed reversals once meaningful profit has been secured, rather than exiting prematurely on normal price noise
Lot size is calculated dynamically: Lots = (Balance / ExchangeRate × RiskPct%) / (SL_Distance / TickSize × TickValue)
- Minimum balance guard: trade aborted if balance below USD $500 equivalent
- Margin sufficiency check via OrderCalcMargin() — lots scaled down to fit free margin if needed
📋 Trade Frequency & Holding Time — What to Expect
This is a swing trading EA, not a scalper. Trades are designed to hold for hours to days, giving the ATR trail time to ride the trend.
- Frequency: ~47 trades per year on average (~4 per month). Ranges from 34/year in slow sideways years to 66/year in strong trending conditions.
- Shortest trade: 1h 32m — fast stop-loss hit when price reverses immediately after entry
- Average trade duration: 4 days 10 hours — a trade opened Monday may not resolve until Friday
- Longest trade: 31 days 19 hours — the ATR trail riding a sustained Gold bull trend
- Do not manually close trades just because they have been open several days — this is normal and expected behaviour
✔ When the EA Performs Well
- Strong directional Gold trends with ADX consistently above 30
- Post-breakout momentum after Gold exits a consolidation zone
- Macro-driven sustained flows — Fed decisions, geopolitical events, risk-on/risk-off regime shifts
- London and New York session intraday trend continuation on H1
- Low spread environments (under 30 points on XAUUSD)
⚠ When Losses Are Mathematically Inevitable
- Low-ADX sideways or choppy price action — false crossovers generate stop-out sequences
- News-driven spike-and-reverse patterns that trigger entries then immediately reverse
- Spread widening during news events (NFP, FOMC) — enter manually after the event if needed
- Persistent mean-reverting price action with no sustained directional bias
These are not bugs — they are the fundamental cost of running a trend-following system. The ADX filter mitigates this by refusing entry when trend strength is insufficient, but cannot eliminate it entirely.
🖥 Account & Setup Requirements
| Requirement | Specification |
|---|---|
| Account Type | MT5 Hedging account — required for simultaneous buy and sell positions |
| Platform | MetaTrader 5 only — NOT compatible with MT4 |
| Minimum Balance | USD $500 equivalent recommended |
| Primary Instrument | XAUUSD (Gold vs USD) — technical support for this instrument only |
| Timeframe | H1 (1-Hour chart) — attach the EA to an H1 XAUUSD chart |
| Leverage | Minimum 1:100 recommended |
Installation
- Copy the .ex5 file to your MT5 MQL5/Experts/ folder
- Restart MetaTrader 5 and locate the EA in the Navigator panel
- Open an XAUUSD H1 chart
- Drag the EA onto the chart — ensure "Allow Algo Trading" is checked
- Verify your account is a Hedging type (check account properties)
- Update InpExchangeRate to match your account currency vs USD
- Enable AutoTrading in MT5 toolbar — the smiley face icon confirms the EA is active
- Monitor using the Experts tab in MT5 terminal for log output and heartbeat messages
⚠ Risk Warning
This EA is a tool, not a guaranteed profit system. All trading involves risk. Past backtest or forward-test results do not guarantee future performance. This EA is optimised for XAUUSD H1 only — using it on other instruments or timeframes is entirely at your own risk with no support provided. You alone are responsible for all trading decisions executed on your account. Never trade with funds you cannot afford to lose.
