Common EA Problems and Fixes (Troubleshooting)
The most common EA problems are: AutoTrading disabled (click the AutoTrading button), sad face on chart (enable "Allow live trading" in EA properties), wrong symbol name, license errors, and lot size issues. Below is a complete troubleshooting guide with step-by-step fixes for every common Expert Advisor issue on MT4 and MT5.
Nothing is more frustrating than setting up an Expert Advisor only to find it is not trading. I have helped thousands of traders troubleshoot EA issues, and the same problems come up again and again. The good news is that 95% of common EA problems have simple fixes that take less than a minute. This guide covers every issue I have encountered, organized from most common to least common, with exact steps to resolve each one.
In This Guide
Problem 1: EA Not Trading
This is the most common issue. Your EA is loaded on the chart but is not opening any trades. Here is the systematic fix:
Checklist: EA Not Trading
| Check | How to Fix | Location |
|---|---|---|
| AutoTrading enabled? | Click the AutoTrading button in the toolbar (should be green) | MT4 toolbar |
| Smiley face showing? | If sad face, enable "Allow live trading" in EA properties | Right-click chart > Expert Advisors |
| Correct symbol? | Verify the chart symbol matches what the EA expects | Chart title bar |
| Correct timeframe? | Switch to the timeframe the EA is designed for | MT4 timeframe buttons |
| Sufficient margin? | Check if your account balance supports the EA's lot size | Terminal > Trade tab |
| Market open? | Gold trades Sunday 23:00 - Friday 22:00 GMT | Market Watch window |
| Check Experts tab | Look for error messages in the Experts log | Terminal > Experts tab |
Work through each check in order. In my experience, the first three items resolve 80% of "EA not trading" issues.
Problem 2: Sad Face Instead of Smiley
When you see a sad face icon next to the EA name on your chart, the EA is loaded but cannot trade. This is always a permissions issue:
Fix for Sad Face
- Step 1: Go to Tools > Options > Expert Advisors tab
- Step 2: Check "Allow automated trading"
- Step 3: Check "Allow DLL imports" if the EA requires it
- Step 4: Click OK
- Step 5: Right-click the chart, go to Expert Advisors > Properties
- Step 6: On the Common tab, check "Allow live trading"
- Step 7: Click OK -- the face should change to a smiley
If the face remains sad after these steps, remove the EA from the chart and re-attach it. Sometimes MT4 requires a fresh attachment to pick up changed permissions.
Problem 3: Wrong Lot Sizes
Your EA is trading but with lot sizes that are too large, too small, or inconsistent. Common causes:
- Auto lot sizing: The EA calculates lot size based on your balance. If your balance changed, lots change too
- Risk percentage too high: Check the EA's risk input parameter -- even 2% risk on a large account can create big lots
- Fixed lot setting: The EA might be set to a fixed lot size that does not match your intentions
- Broker lot restrictions: Some brokers have different minimum/maximum lot sizes or step sizes
To fix, open the EA's properties (right-click chart > Expert Advisors > Properties > Inputs tab) and adjust the lot size or risk percentage parameter. For guidance on proper lot sizing, see our position sizing calculator.
Problem 4: License and Authentication Errors
Many commercial EAs use license verification tied to your account number, MT4 installation, or hardware. Common error messages and fixes:
| Error Message | Cause | Fix |
|---|---|---|
| "License invalid" | Account not registered | Contact vendor with your MT4 account number |
| "Wrong account" | EA licensed for different account | Use the correct account or request re-licensing |
| "License expired" | Subscription ended | Renew your subscription with the vendor |
| "Hardware mismatch" | Different computer/VPS | Request hardware ID reset from vendor |
| "DLL error" | DLL imports not enabled | Tools > Options > Expert Advisors > Allow DLL imports |
Problem 5: Connection and Server Issues
If MT4 shows "No connection" or "Invalid account" in the bottom right corner, the EA cannot function:
- "No connection": Check your internet, try a different broker server (File > Login), or restart MT4
- "Invalid account": Re-enter your login credentials via File > Login to Trade Account
- "Trade context busy": Another EA or script is already processing. Wait or remove conflicting EAs
- Frequent disconnections: Your internet is unstable. Consider a VPS for stable connectivity
Problem 6: Symbol Not Found or Mismatch
Different brokers use different symbol names for the same instrument. Your EA may be programmed for "XAUUSD" but your broker lists it as "XAUUSD.r" or "Gold":
- Check Market Watch: Right-click Market Watch > Show All to see all available symbols
- Find the exact name: Look for your instrument's exact symbol name including suffixes
- Update the EA: Some EAs let you specify the symbol name in input parameters
- Contact support: If the EA does not allow symbol customization, contact the developer
Gold symbol variations: Common XAUUSD symbol names across brokers include XAUUSD, XAUUSD.r, XAUUSD.a, Gold, GOLD, GoldUSD, and XAUUSDm. Always verify the exact symbol your broker uses in Market Watch.
Problem 7: EA Performing Worse Than Expected
If your EA is trading but results are disappointing compared to the developer's claims, these are the most common causes:
- Spread too wide: Your broker's gold spread may be 30-40 points vs the 10-15 points the EA was optimized for. Switch to an ECN broker
- Wrong timeframe: Running a H4 EA on M15 will produce completely different results
- VPS latency: High latency between your VPS and broker server causes slippage
- Market conditions changed: Strategies optimized for trending markets struggle in ranges and vice versa
- Over-leveraged: Using lot sizes that are too large magnifies every losing trade. Review our risk management guide
Frequently Asked Questions
Why is my EA not trading?
Most common causes: AutoTrading is disabled (click the green button), EA shows sad face (enable "Allow live trading" in properties), wrong symbol name, or trading conditions not yet met. Check the Experts tab for error messages.
Why does my EA show a sad face on the chart?
The EA lacks trading permissions. Go to Tools > Options > Expert Advisors, check "Allow automated trading." Then right-click chart > Expert Advisors > Properties and enable "Allow live trading."
Why is my EA opening wrong lot sizes?
Check the EA's lot size or risk percentage in its input parameters. Auto lot sizing adjusts based on balance. Also verify your broker's minimum lot and lot step requirements for the instrument.
How do I fix EA license errors?
Contact the EA vendor with your account number and MT4 installation details. Common fixes: register your account number, request hardware ID reset for new VPS, or renew an expired subscription.
Why does my EA work on demo but not live?
Possible causes: demo-only license, different symbol names between servers, different leverage affecting margins, or broker restrictions on EA trading. Check the Experts tab for specific error messages.