EA Settings & Configuration

When to Turn Off Your XAUUSD EA:
The 4-Branch Decision Tree

Turning off an EA prematurely is one of the most expensive mistakes in algorithmic trading. Use this interactive diagnostic to find the actual root cause before making the decision.

Starting Point
Your EA is consistently underperforming
1
Is it a technical issue?
2
Is performance outside backtest parameters?
3
Has the market regime changed?
4
Has your broker's spread or pricing changed?

Turn off your XAUUSD EA only after diagnosing which of the 4 root causes is responsible for underperformance — not as a first response to losses. The 4 root causes are: (1) technical issues (fixable without turning off the EA), (2) settings problems (adjustable without turning off), (3) market regime change (requires waiting or complementing, not turning off), and (4) broker environment change (requires switching brokers, not switching EAs). Premature shutdown based on emotional response to drawdown is one of the most costly mistakes in gold EA trading.

When Is It Time to Turn Off Your Gold EA? The 4 Root Causes

EA underperformance always has a root cause. The 4-branch diagnostic forces you to identify that cause before making the shutdown decision. This matters because different root causes require different responses — and "turn off the EA" is the correct response to only one of the four (technical issues that cannot be immediately fixed). For the other three, the EA should either be paused temporarily for investigation, continue running while you wait for conditions to change, or continue running while you change the environment (broker, settings).

The starting assumption before using this diagnostic: you have at least 3 months of live trading history and 200+ completed trades. Any assessment with fewer than 200 trades is statistically unreliable — you cannot distinguish between a broken strategy and normal variance in smaller samples.

Technical Issues: When to Fix vs When to Stop

Technical issues are the most benign category of EA underperformance because they are external to the EA's logic and almost always fixable. Common technical issues that masquerade as EA failures:

  • VPS connectivity instability: If your VPS is experiencing packet loss or latency spikes, order execution degrades. The EA is sending correct signals — they're just not executing cleanly. Solution: restart the VPS, check server resources, or switch to a different VPS provider closer to your broker's server.
  • MT5 platform errors: Error codes like 4109 (trade context busy), 131 (invalid volume), or 130 (invalid stops) indicate platform-level issues, not EA logic errors. Solution: check MT5 logs, update to the latest MT5 build, or reinstall the EA.
  • Broker API changes: Some brokers update their pricing APIs, affecting how orders are processed. If your EA suddenly starts producing unusual spread readings or order rejections that weren't happening before, check with your broker about recent API or platform updates.
  • License server issues: EA licensing systems occasionally have connectivity issues that prevent the EA from running correctly. If the EA suddenly stops generating signals entirely, check the EA developer's status page or contact support.

For technical issues: pause the EA, not turn it off. Investigate the specific error. Fix it. Resume. No change to the EA or its settings is necessary.

EA Settings and Drawdown: How to Diagnose Before Switching Off

The second diagnostic branch — are results outside historical parameters? — requires you to have reference data to compare against. This is why the metrics to check before turning off must be established before you start live trading, not after you are in the middle of a drawdown.

The key metrics to compare between your backtest/expected performance and current live performance:

MetricExpected RangeInvestigate Threshold
Win Rate55–70% (EA dependent)Below 40% for 200+ trades
Profit Factor1.3–2.5+Below 1.0 for 200+ trades
Max DrawdownEA-specific (check backtest)More than 130% of backtest max
Avg Winner vs Avg LoserRatio per EA specsAvg winner below avg loser
Monthly Net ReturnEA-specific targetNegative for 3+ consecutive months

If metrics are outside expected range, the correct next step is: contact the EA developer before changing anything. Most performance divergence issues have a known fix — wrong time zone, incorrect lot calculation method, a parameter that drifted from its optimal value. Turning off is premature.

Market Regime Changes: Is Your EA Broken or Just Waiting?

This is the most nuanced branch of the diagnostic. A market regime change is when the character of XAUUSD price action shifts in a way that is fundamentally incompatible with your EA's design principles.

Session-based breakout EAs like Goldie Sniper EA PRO are designed for markets with clear directional momentum during London and New York sessions. When gold enters a period of 4–8 week sideways consolidation (a ranging regime), session breakouts form but quickly reverse — producing false signals and losing trades. This is not the EA breaking. This is the EA doing exactly what it was designed to do, but in market conditions where its design principle (capture directional momentum) doesn't apply because there is no directional momentum to capture.

The diagnostic for regime change: compare the ATR (Average True Range) of XAUUSD on the EA's operating timeframe over the past 30 days vs the past 6 months. If current ATR is below 50% of the 6-month average, you are in a low-volatility ranging regime. Breakout EAs will underperform structurally. This is directly connected to understanding market regime as the cause of EA failure — regime cycles are the most common explanation for "sudden" EA deterioration.

The correct response to a regime change: wait. Ranging regimes in gold are temporary — they typically last 3–12 weeks before a new trend begins. During the waiting period, reduce lot size to 25–50% of normal or pause entirely if the regime is clearly anti-trend. When momentum returns (ATR expands back to normal range, clear directional move on weekly chart), resume full trading.

Broker Problems: The Most Overlooked Reason for Poor EA Performance

Broker environment changes are the most frequently overlooked cause of EA underperformance and the most commonly blamed on the EA itself. The key question: has anything changed on your broker's side?

Common broker-side changes that affect EA profitability:

  • Spread widening: If your broker increased XAUUSD average spread from 1.0 to 2.0 pips (100% increase), your EA's break-even point doubles. An EA optimised for 1-pip spread may no longer be profitable at 2-pip spread. Check this by comparing MT5 spread logs from before vs after underperformance started.
  • Commission increase: Brokers occasionally revise commission schedules — often with minimal notice. A 50% commission increase directly reduces profitability of every trade. Check your account statement for commission per lot.
  • Execution model change: Some brokers shift from true ECN to a dealing desk model for certain account types. Execution quality degrades, slippage increases, and fills become less reliable. Test this by comparing average slippage per trade between periods.
  • Swap rate changes: If the EA holds positions overnight and swap rates changed, profitability on overnight holds changes accordingly.

If broker environment has changed significantly: the correct response is to test the EA on demo with a different ECN broker before concluding the EA itself is broken. If the EA performs correctly on the demo with a new broker, switch brokers — not EAs. This requires understanding what to look for, which the guide on scheduling shutdowns around known risky periods covers from the timing angle.

How Long Should You Give a XAUUSD EA Before Giving Up?

The minimum responsible evaluation period is 3 months of live trading with 200+ completed trades. This is the bare minimum — not the ideal. Here is why the number matters so much:

A strategy with a 60% win rate has an expected variance that means 30-trade samples can show win rates as low as 40% or as high as 80% without the underlying strategy changing at all. You need 200+ trades to reduce variance enough to get a meaningful performance signal. For a gold scalping EA taking 15 trades per day, 200 trades happens in approximately 13–14 trading days — less than 3 weeks. But those 200 trades should be evaluated over a longer calendar period (3+ months) to capture different market conditions.

The concept of emotional discipline around shutdown decisions comes into play here most acutely. The pressure to turn off during a drawdown is highest precisely when the statistical signal is least reliable — early in the evaluation period, before enough trades have occurred to distinguish variance from real underperformance.

Practical thresholds for considering a shutdown evaluation:

  • Less than 3 months live: almost certainly too early to conclude anything
  • 3–6 months, 200–500 trades, performance within 70% of backtest: normal variance, continue
  • 6+ months, 500+ trades, profit factor below 1.0: genuine underperformance worth investigating
  • Any period with confirmed technical/broker/regime issue: investigate the external cause first

The Data You Need to Collect Before Turning Off Any EA

Before making any final shutdown decision, collect this data set. Without it, you are making a decision based on feeling rather than evidence:

1
MT5 Performance Report
Generate via Account History → Report. Note: profit factor, win rate, max drawdown, average winner pips, average loser pips, number of trades.
2
Broker Spread Logs
Export tick data or check spread history in MT5. Compare average spread for XAUUSD during the current underperformance period vs 6 months ago.
3
Commission Statement
Check your monthly statement for total commission paid. Calculate commission per standard lot. Compare to your broker's advertised rate — if different, something changed.
4
ATR Regime Assessment
Add ATR(14) to the XAUUSD chart on your operating timeframe. Compare current ATR to 6-month average. Below 60% of average indicates ranging regime.
5
VPS Latency Logs
Most VPS providers offer latency monitoring. Compare current average latency to broker server vs 3 months ago. Significant increase (2×+) affects execution quality.
6
Settings Comparison
Document your current EA parameter settings. Compare to the settings that were in place when the EA was performing well. Verify no accidental parameter changes occurred.

If you cannot collect this data or interpret it, contact the EA developer before making the shutdown decision. Most EA developers have seen the same patterns many times and can diagnose the root cause quickly from MT5 statement exports.

Switching to a Different EA: When Is It the Right Answer?

After completing the 4-branch diagnostic, if you conclude that: (1) there is no technical issue, (2) settings are correct, (3) market regime is appropriate, and (4) broker environment is acceptable — but performance is still genuinely below expectations after 6+ months and 500+ trades — then the conclusion is that this specific EA's logic may not be well-suited to current market conditions.

In this specific scenario, exploring a different EA with a different underlying strategy logic is appropriate. For example: if your trend-following EA has been underperforming for 6 months with everything else confirmed correct, switching to Blind Sniper X PRO — a lower-frequency, higher-precision setup — may better suit current market conditions where high-frequency breakout signals are less reliable.

The critical rule: always test the new EA on demo for minimum 30 days before live trading. And never shut down the old EA permanently without keeping notes on exactly why you made the switch — in case conditions change back and the original EA becomes appropriate again.

EA Shutdown Decision — Questions Answered

Goldie Razor V2.8.4

M15 breakout + H4 EMA filter — built for XAUUSD on MT5

View Goldie Razor →