MT4 EA Not Loading on Mac? Complete Troubleshooting Guide
Problem: EA Won't Load or Shows "Invalid EA"
You drag your Expert Advisor onto a chart, but nothing happens. Or you see errors like "invalid EA," "custom indicator not found," or DLL load failures. This is one of the most common frustrations for Mac MT4 users[citation:1].
Step 1: Enable Auto-Trading Permission
MT4 blocks EA execution by default. You must manually enable it:
Ctrl+O)Screenshot tip: The EA tab shows four checkboxes. The top two are essential for most EAs.
Step 2: Verify File Placement
Incorrect file placement is the #1 cause of loading failures. Use the correct folders:
| File Type | Extension | Destination Folder |
| :--- | :--- | :--- |
| EA (compiled) | .ex4 or .ex5 |
MQL4/Experts/ or MQL5/Experts/ || EA (source) | .mq4 or .mq5 |
MQL4/Experts/ or MQL5/Experts/ || Custom Indicator | .ex4 or .mq4 |
MQL4/Indicators/ || DLL Library | .dll |
MQL4/Libraries/ |To locate your data folder:
MQL4 directory[citation:4][citation:6]Step 3: Fix DLL Import Errors
If you see "dll 'xxx.dll' not found" or "cannot load library," follow this checklist:
3.1 Enable DLL imports (already covered in Step 1)
3.2 Place DLL in the correct folder
.dll files to MQL4/Libraries/ (not the Experts folder)[citation:2]3.3 Check 32-bit vs 64-bit compatibility
3.4 Whitelist MT4 in antivirus software
Step 4: Restart and Check the Experts Log
After making changes:
Ctrl+T)Common log errors and their meanings:
| Log Message | What It Means |
| :--- | :--- |
| "invalid EA" | File corrupted or compiled for different MT build |
| "custom indicator not found" | Missing dependency in Indicators folder |
| "cannot load library" | DLL missing, wrong folder, or 32/64-bit mismatch |
| "export function not found" | DLL function name mismatch[citation:2] |
Step 5: Mac-Specific Troubleshooting
Mac users running MT4 via Wine or similar emulation face additional challenges:
If problems persist:
.mq4 source file in MetaEditor (press F4 in MT4)Summary Checklist
MQL4/Experts/ (not a subfolder)MQL4/Libraries/ (not Experts)References: