AurumBreak Pro
- Experts
- Samuel Yip Jing Han
- Versione: 1.1
- Attivazioni: 10
A fully automated MetaTrader 5 Expert Advisor for breakout trading XAUUSD (Gold) on the M1 timeframe. AurumBreak Pro maps the overnight Asian session consolidation range, then places precision orders the moment Gold breaks out. The opposing order is cancelled immediately on fill — keeping risk clean and one-sided at all times.
Technical support is provided for XAUUSD M1 only. Default settings were used for all backtest results shown below.
📊 Backtest Results — 2025 (XAUUSD M1)
Tested on historical data at 99% tick quality. Starting balance: USD $6,000 at 1:100 leverage. All default parameters.
| Metric | Value | Metric | Value |
|---|---|---|---|
| Test Period | 2025.01.01 – 2025.12.31 | History Quality | 98% |
| Total Net Profit | +$1,274 | Risk per Trade | 0.3% of balance |
| Profit Factor | 1.32 | Sharpe Ratio | 2.76 |
| Max Balance Drawdown | 5.81% | Range Window | 00:00 – 07:30 server time |
| Max Trades per Day | 2 (1 Buy + 1 Sell) | Stop Loss Mode | 1× Range size |
Past backtest results do not guarantee future performance. The strategy tester cannot replicate live spread widening, slippage, or requotes. Always demo-test before going live.
⚙ How It Works
AurumBreak Pro follows a strict daily pipeline. Nothing trades unless every condition in the sequence is met.
Phase 1 — Market Analysis (Early Session) The EA continuously monitors price action during the early trading session, applying its proprietary analysis engine to identify a key reference zone for the day. Built-in quality filters automatically evaluate whether market conditions meet the minimum criteria for a valid setup — days that fail the criteria are skipped entirely, protecting the account from low-probability environments.
Phase 2 — Position Preparation (Session Transition) When the analysis phase concludes, the EA prepares entry orders on both sides of the market simultaneously. Each order is independently sized using a precise risk-based lot calculation that accounts for the specific price level, account balance, and broker tick value. Stop-loss and take-profit levels are derived automatically from the day's market structure.
Phase 3 — Smart Entry Execution The EA monitors for a confirmed directional breakout. Once price commits to a direction and an order fills, the system immediately cleans up the opposing order — eliminating unwanted exposure and ensuring the trade remains clean and one-sided. This logic is robust across VPS restarts and platform reconnections, with automatic recovery built in.
Phase 4 — Active Trade Management Once in a trade, the EA's management engine takes over. A configurable protection mechanism can move the stop-loss to a secure level as profit develops. An optional dynamic trailing mechanism then follows price to lock in gains as the move extends. All positions are automatically resolved at end of day, leaving no open risk overnight.
📋 Lot Sizing Formula
All volume modes use a broker-accurate position sizing formula that accounts for tick value, tick size, and actual SL distance:
Lots = Risk Amount ÷ (SL Distance ÷ Tick Size × Tick Value)
This is critical for Gold, where a simplified formula (Risk ÷ SL points) will significantly undersize or oversize positions depending on the current Gold price. The EA handles this correctly across all four lot modes:
- Fixed Lots — constant lot size every trade
- Fixed Lots per X Balance — e.g. 1 lot per $1,000 balance
- % Risk per Trade — e.g. 0.3% of account balance (default)
- Fixed $ Risk per Trade — e.g. $50 per trade regardless of balance
✅ When AurumBreak Pro Performs Well
- Clean Asian session consolidation followed by a directional London open breakout
- Low-spread conditions — tested on Pepperstone Raw spreads (typically 1–5 pts on XAUUSD during the Asian session)
- Days where Gold gaps or trends strongly from the open of the London or New York session
- Macro-driven momentum after FOMC, CPI, NFP, or geopolitical events push Gold directionally
- Any day where the overnight range is well-defined and contained (not spiked by thin-market news)
⚠ When Losses Are Mathematically Inevitable
- False breakouts where price triggers one side then immediately reverses back into the range — the cancel-opposing logic limits damage to one loss per day
- Extremely thin Asian sessions (e.g. public holidays) where the range is unusually narrow or noisy — use MinRangePoints to filter these out
- High-spread conditions during news events — the EA places orders at fixed prices, so a spread spike at entry can widen the effective SL
- Days where Gold chops sideways across the range boundary multiple times before any direction is established
These are inherent costs of a breakout system — not bugs. The range quality filters and the one-trade-per-direction daily limit are specifically designed to reduce their frequency.
🔧 Key Features Summary
- Configurable range window — any start and end hour/minute in server time
- Range quality filters — min/max size in both points and percentage
- Four SL/TP calculation modes — factor of range, % of price, fixed points, or off
- Four lot sizing modes with correct Gold tick-value formula
- Cancel opposing order on fill — prevents double exposure from whipsaw
- Independent daily limits — MaxBuy, MaxSell, MaxTrades
- Break-even with configurable trigger and buffer
- Classic trailing stop with trigger, distance, and step size
- Automatic end-of-day close for all positions and pending orders
- Pending order buffer — places orders N points beyond range boundary
- Robust session restart — range and counters rebuilt from M1 history and deal history on reattach or VPS restart
- Optional point buffer on stop order entry prices
- On-chart dashboard showing range levels, state, trade counts, and position P&L
- Debug logging mode for strategy tester and live troubleshooting
🖥 Account & Setup Requirements
| Requirement | Specification |
|---|---|
| Platform | MetaTrader 5 only |
| Account Type | Any (Netting or Hedging) — EA opens max 1 position at a time |
| Primary Instrument | XAUUSD (Gold vs USD) — technical support for this instrument only |
| Timeframe | M1 (1-Minute chart) — attach the EA to an M1 XAUUSD chart |
| Minimum Balance | USD $1,000 recommended for default 0.3% risk settings |
| Leverage | Minimum 1:30; 1:100 or higher recommended |
| Broker | Tested on Pepperstone (Raw spread account). Any ECN/STP broker with low Gold spreads is suitable. |
| Spread Requirement | Under 30 points on XAUUSD during the Asian session |
| VPS | Recommended — EA must be running from 00:00 GTM+3 to capture the full range window |
Installation Steps
- Copy the .ex5 file to your MT5 MQL5/Experts/ folder
- Restart MetaTrader 5 and locate the EA in the Navigator panel under Expert Advisors
- Open an XAUUSD M1 chart
- Drag the EA onto the chart — ensure Allow Algo Trading is checked in the EA properties dialog
- Set your preferred risk mode and percentage in the inputs (default: 0.5% risk per trade)
- Verify the range window hours match your broker's server time (check the bottom-right clock in MT5)
- Enable AutoTrading in the MT5 toolbar — the smiley face icon on the chart confirms the EA is active
- Monitor using the Experts tab in the MT5 terminal for log output, and watch the on-chart dashboard for range state and trade activity
