MQ4/MQ5 Source Code vs EX4/EX5: What EA Buyers Should Know

A plain-English guide to compiled files and source-code packages for MT4/MT5 Expert Advisors.

Compiled files are for normal installation
EX4 and EX5 files are compiled. Most buyers use them by copying files into MetaTrader and loading the EA.
- Compiled or editable
- Platform match
- Licensing terms
Source code is for editing or study
MQ4 and MQ5 files can be opened and modified by developers. Buyers should understand licensing and technical responsibility before editing.
- Compiled or editable
- Platform match
- Licensing terms
Choose source code only when it has a purpose
If you only want to trade, a compiled package may be enough. If you need customization, source code can be valuable.
- Compiled or editable
- Platform match
- Licensing terms

FAQs
Can I edit an EX4 file?
No. EX4 is compiled for MT4 use.
Is MQ5 for MT5?
Yes, MQ5 is the source-code format for MT5.
Do source-code products need testing?
Yes. Any edited EA should be tested carefully before live use.
Conclusion
Keep the decision process simple: choose the correct platform, verify symbol and package details, test the settings, monitor risk and only then move from research to checkout.