DoIt Gold Guardian.
Consistency on Gold.
A gold (XAUUSD) specialist tuned for the metal's behaviour in trends and ranges. Same robust core as GBP Master, focused on stability and consistency. Install, set your risk, trade — no API keys, no monthly costs.
Why Gold Guardian
A specialist Expert Advisor designed and tuned specifically for gold (XAUUSD). It shares the robust core logic of DoIt GBP Master but is optimized for gold's unique behaviour in trends and ranges, focusing on stability and consistency — on both MetaTrader 4 and MetaTrader 5.
Choose your broker
Low spreads and fast execution on XAUUSD are essential for gold — otherwise commissions eat your edge.
Tested brokers for EA trading (I use IC Trading in my main portfolio):
Purchase on MQL5
Gold Guardian is a separate product for each platform — buy the one that matches your terminal.
- 1Open the product page — use the buttons above for the MT5 or MT4 listing.
- 2Click the orange Buy button on the MQL5 product page.
- 3Select your payment method (card, PayPal…) and click the green Next button.
- 4Complete the payment and confirm your details.
- 5Install the EA directly to MetaTrader and begin setup (next step).
Install the EA in MetaTrader
Runs entirely within MetaTrader — no API keys, no WebRequest URLs, no monthly costs.
- aLog in with your MQL5 account — the same one you purchased with. Use your MQL5 username, not your email or broker credentials.
- bFind Gold Guardian in the Navigator under Market → My Purchases.
- cDrag it onto a XAUUSD (Gold) chart. The timeframe doesn't matter — the EA handles everything internally.
- dEnable algo trading. The Algo Trading (MT5) / AutoTrading (MT4) toolbar button must be green.
- eAllow algo trading in the EA settings — check “Allow Algo Trading” in the settings window.
- fSet your risk — Account Balance Percentage and, optionally, the prop firm settings (next steps).
Configure your inputs
Gold Guardian is intentionally simple — most logic is internal. Your main task is the Account Balance Percentage.
| Parameter | Default | Description |
|---|---|---|
| Magic Number | Auto | Unique identifier for this EA's trades. Set a different value per EA if running several on one account. |
| Override Balance with Initial Account Size | false | Enable to use a custom balance for risk calculations instead of your actual balance. |
| Initial Account Size | 0 | Used when Override Balance = true. The account size the EA uses for risk (e.g. a prop firm starting balance). |
| Account Balance Percentage | 10 | Percentage of balance to risk per position via the EA's internal position management. Protective SLs are used mainly for risk accounting; positions are often managed with partial closes to smooth equity. |
| Monitor Resolution | Auto | Adjusts the on-chart interface to your monitor for the best display. |
- Conservative (2–5%): start on demo and for prop firm challenges.
- Moderate (10–20%): balanced risk/reward for experienced traders.
- Advanced (20–50%): test on demo first before going live.
PropFirm settings
Dedicated features for prop firm challenges and funded accounts.
| Parameter | Default | Description |
|---|---|---|
| Stop on Profit Reached | false | Automatically stops the EA once the target profit is reached — ideal for signalling you've passed a validation challenge. |
| Max Daily DD (Drawdown) | Disabled | Closes all trades if daily drawdown exceeds your threshold. Modes:
|
- 1Set your target in the EA settings.
- 2The EA monitors profit continuously.
- 3Target reached — the EA closes all positions and stops trading.
- 4Challenge passed — you've hit your prop firm profit target.
- 1Set your threshold — choose the DD mode and value.
- 2The EA tracks drawdown in real time.
- 3Threshold exceeded — all trades are immediately closed.
- 4Account protected — further losses for the day are prevented.
- Enable Stop on Profit with your challenge target.
- Set Max Daily DD to 80% of your firm's actual limit.
- Use Initial Account Size = your challenge starting balance.
- Start with a conservative Account Balance Percentage (2–5%).
Backtesting & demo
Test the EA before going live to understand its behaviour and fine-tune settings.
- 1Open the Strategy Tester — View → Strategy Tester (or Ctrl+R).
- 2Select DoIt Gold Guardian from the EA list.
- 3Choose XAUUSD as the symbol and set your test period.
- 4Select tick mode — on MT5, use “Every tick based on real ticks” for the highest-quality results.
- 5Run the test and evaluate balance/equity, drawdown and trade distribution.
| Platform | Running | Stopped / issue |
|---|---|---|
| MT5 | Green hat icon (top-right of chart) | Red or gray hat icon |
| MT4 | Smiley face (top-right of chart) | Sad face |
Also confirm the Algo Trading (MT5) / AutoTrading (MT4) button is green in the toolbar.
Hard questions, direct answers
It shares the robust core logic of DoIt GBP Master but is specifically tuned for gold's behaviour in trends and ranges. Its risk system compensates losing trades with partial profits from winners for smoother equity. Protective SLs are used mainly for risk accounting, with partial closes to manage positions — fundamentally different from gold EAs that rely on fixed stop losses.
Thanks to the internal risk system you can use higher values than traditional EAs:
- Conservative (2–5%): prop firm challenges or starting on demo.
- Moderate (10–20%): balanced risk/reward for experienced traders.
- Advanced (20–50%): maximum growth — test on demo first.
Tip: start conservative on demo, then increase gradually.
Possible but not recommended. If you do:
- Set unique Magic Numbers to avoid conflicts.
- Ensure enough free margin for the risk each EA needs.
- Consider separate accounts for cleaner portfolio management.
MT5: a green hat icon (top-right of the chart) = running; red or gray = stopped.
MT4: a smiley face = running; a sad face = stopped.
Make sure Algo Trading (MT5) / AutoTrading (MT4) is green in the toolbar.
Any timeframe. Gold Guardian handles everything internally — switch freely on the chart. The only requirement is that you're on a XAUUSD (Gold) chart.
Yes — download the demo from the MQL5 product page and test it in the Strategy Tester: open MetaTrader, go to View → Strategy Tester (or Ctrl+R), select the EA, choose XAUUSD, set a period and run.
Yes. Gold Guardian ships Stop on Profit Reached, Max Daily Drawdown, and Initial Account Size for accurate risk on funded balances. See the PropFirm settings above for the recommended configuration.
No. Gold Guardian uses traditional algorithmic strategies — no AI, no API keys, no monthly costs, no external connections. If you want an AI EA, see DoIt Alpha Pulse AI, which connects to 6 AI providers.
The setup we actually run
Broker, funded program and VPS behind our own live results — the same stack this guide assumes.
Affiliate links — using them supports DoIt Trading at no cost to you.