Summary: EA attaches without error but never opens a position. This guide covers four silent killers: auto-trading button off, common settings mismatch, lot size invalid, and broker restrictions.




Step 1: Turn On the Auto-Trading Button

In MT4, look at the toolbar. If the ‘Auto-Trading’ button shows a red ‘X’ or a sad face, click it once. It should turn green (smiling face). Without this green button, your EA will never trade. Screenshot: toolbar showing green Auto-Trading button.

Step 2: Check EA’s Common Settings

Right-click on your chart → ‘Expert Advisors’ → ‘Properties’ (or press F7). Click the ‘Common’ tab. Make sure these are checked: ‘Allow live trading’, ‘Allow DLL imports’ (if needed), and ‘Allow WebRequest’ (if needed). Uncheck ‘Disable automated trading in account properties’. Screenshot: Common tab with correct boxes checked.

Step 3: Look at the Experts and Journal Tabs

Press Ctrl+T to open the Terminal window. Click the ‘Experts’ tab. Look for any yellow or red messages. If you see ‘lots invalid’ or ‘min/max lot error’, go to step 4. Screenshot: Terminal window with Experts tab showing error.

Step 4: Fix Lot Size Issues

Open your EA’s input parameters (F7 → ‘Inputs’ tab). Reduce the lot size. Most brokers have a minimum lot of 0.01 and maximum of 50 or 100. Try 0.01 first. Also check if your account uses ‘micro’ or ‘standard’ lots. Screenshot: Inputs tab with lot size field highlighted.

Step 5: Verify Trading Hours

Some EAs only trade during certain sessions. Check EA’s input parameters for ‘StartHour’, ‘EndHour’, ‘TradeMonday’ to ‘TradeFriday’. Adjust them to match current market hours or disable time filters for testing. Screenshot: time filter parameters in EA inputs.

Step 6: Test on Demo First

Switch to a demo account. Attach the same EA. If it trades on demo but not on real, your broker may block EA trading or require specific account approval. Contact broker support in that case. Screenshot: demo account showing successful trade opened by EA.

Reference: MetaQuotes Help Desk – Expert Advisors Not Trading Troubleshooting.