
🔄 Introduction to Gold Machine EA
Gold Machine EA is a specialized automated trading system for MetaTrader 5 (MT5) designed primarily for XAUUSD (Gold trading). It combines grid trading, martingale scaling, and hedge recovery strategies to maximize profit potential during volatile market conditions.
With advanced features like gap-based entry logic, hedge layering, and group take profit, this EA is built for traders seeking aggressive growth with structured recovery mechanisms.


🔄 License & Core Configuration
| Setting | Value | Explanation |
|---|---|---|
| License Key | (Hidden) | Required for activation |
👉 This section ensures the EA is authenticated before execution.
🔄 Buy Strategy Settings
🎯 Core Buy Parameters
| Setting | Value | Explanation |
|---|---|---|
| Lot Size | 0.01 | Initial trade size |
| Multiplier | 1.2 | Lot scaling factor |
| Take Profit | 200 points | Profit target |
| Pip Step | 200 | Distance between trades |
| Magic Number | 1234 | Unique trade identifier |
| Max Trades | 10 | Max open positions |
| Trade Action | STOP_TRADING | Stops after limit reached |
👉 Strategy Insight:
This is a grid + martingale system:
- Trades are opened every 200 points
- Lot size increases gradually (1.2x)
- Max 10 trades controls exposure
🎯 Buy Hedge Settings
| Setting | Value | Explanation |
|---|---|---|
| Hedge Enabled | Yes | Activates hedge recovery |
| Trigger Trades | 10 | Hedge activates at max grid |
| Delay Points | 2500 | Distance before hedge |
| Lot Multiplier | 6.0 | Aggressive hedge size |
| Add Multiplier | 1.7 | Scaling for additional hedges |
| TP Points | 1500 | Hedge TP |
| Group TP | 1500 | Combined TP target |
| Max Levels | 5 | Hedge layers |
| Add-on SL | 100 | Stop loss for hedge add-ons |
👉 Key Observation:
- Very aggressive hedge multiplier (6x).
- Designed to recover large drawdowns quickly.
🔄 Sell Strategy Settings
Sell configuration mirrors Buy logic.
| Setting | Value |
|---|---|
| Lot Size | 0.01 |
| Multiplier | 1.2 |
| Take Profit | 200 |
| Pip Step | 200 |
| Max Trades | 10 |
👉 Symmetrical strategy: Allows trading in both directions → increases trade frequency but also risk.
Identical to Buy hedge system:
- Hedge activates after 10 trades.
- Uses 6x lot multiplier.
- Up to 5 hedge layers
👉 This doubles risk exposure if both BUY and SELL grids run simultaneously.
🔄 Lot Scaling & Gap Strategy
| Setting | Value | Explanation |
|---|---|---|
| Gap Type | Pips Based | Distance-based entries |
| Gap Percentage | 2% | Not used in current mode |
| Gap Points | 7500 | Entry spacing |
| Max Lot | 200 | Hard cap |
👉 Important Insight:
- 7500 points = wide spacing → reduces overtrading
- Max lot 200 = extremely high risk ceiling
🔄 Group Take Profit
| Setting | Value |
|---|---|
| Group TP | 1500 |
👉 EA closes all trades together once total profit hits target → key feature of grid systems.
🔄 Hedge Close Logic
| Setting | Value | Explanation |
|---|---|---|
| Close at Breakeven | Enabled | |
| Breakeven Points | 50 | |
| Time Limit Close | Disabled | |
| Hours Limit | 24 | |
| Net Profit Target | 0 | |
| Max Candles | 30 | |
| Candle Condition | Enabled |
👉 Smart Exit Logic:
- Closes hedge when near breakeven
- Uses price action (candles) as confirmation
🔄 Per Side Stop Loss
| Setting | Value |
|---|---|
| Enabled | Yes |
| Stop Loss | 10% |
👉 Limits loss per direction → critical for survival.
🔄 News Filter Settings
| Setting | Value |
|---|---|
| Enabled | Yes |
| Block Before | 15 min |
| Block After | 30 min |
👉 Protects from volatility during:
- NFP
- CPI
- Interest rate decisions
🔄 Daily Risk Control
| Setting | Value |
|---|---|
| Daily Profit Target | Disabled |
| Daily Drawdown Limit | Disabled |
| Equity TP | Disabled |
👉 Major Risk Issue:
- No daily protection → account can suffer large losses.
🔄 Trading Filters
| Setting | Value |
|---|---|
| Mode | Both (Buy & Sell) |
| Trading Time | 00:00 – 23:59 |
| Price Range Filter | Disabled |
👉 EA trades 24/7 without restrictions.
🔄 Trailing Stop Settings
| Setting | Value |
|---|---|
| Trailing Stop | Disabled |
| Start | 200 points |
| Step | 60 points |
👉 Not active → profits rely on TP instead of trailing.
🔄 Strategy Evaluation
🎯 Strengths
- Advanced hedge recovery system.
- Grid + Martingale hybrid strategy.
- News filter enabled.
- Group TP improves basket exits.
🎯 Weaknesses
- Extremely high hedge multiplier (6x).
- No daily drawdown protection.
- Max lot (200) is dangerously high.
- Trades both directions simultaneously → risk stacking.
🔄 Optimization Recommendations
🎯 For Safer Trading
- Reduce hedge multiplier → 2.0 – 3.0
- Lower max lot → 5 – 10
- Enable daily drawdown → 5%
- Limit max trades → 5–7
🎯 For Aggressive Growth
- Keep multiplier 1.2–1.3
- Use hedge system
- Trade only XAUUSD during high volatility sessions
🔄 Conclusion
The Gold Machine EA MT5 setup shown is a high-risk, high-reward trading system built around grid expansion and hedge recovery mechanics. While it offers powerful tools to recover losing positions, the aggressive parameters—especially the 6x hedge multiplier and lack of daily drawdown protection—make it vulnerable to extreme market conditions.
With proper optimization—such as reducing lot scaling, enabling daily risk controls, and limiting trade exposure—this EA can become a robust and profitable automated trading solution, particularly for experienced traders who understand the risks of martingale-based strategies.
