The basics
Yes, EX4 to EX5 conversion is possible using the online service at ex4toex5.com. You do not need the source code (.mq4) — just upload the compiled .ex4 file. Conversion is performed manually by qualified specialists, with full preservation of the original functionality.
EX4 and EX5 are compiled programs built on different languages — MQL4 and MQL5 respectively. These languages have fundamentally different architectures, which is why MetaTrader 5 cannot execute EX4 files directly. To use an Expert Advisor or indicator in MT5, it must first be converted to the EX5 format.
.ex4 is a compiled Expert Advisor, indicator, or script for the MetaTrader 4 platform (MQL4 language)..ex5 is the equivalent for MetaTrader 5 (MQL5 language).
Although they serve the same purpose, the formats are not compatible: MT5 cannot run EX4 files, and MT4 cannot run EX5 files.
No fully automatic converter exists, and one cannot be created: EX4 and EX5 are based on different programming languages, so conversion always requires human involvement. The ex4toex5.com online service performs conversion in a semi-automated workflow with specialist review.
Technical questions
No, source code is not required. Just upload the compiled .ex4 file — no decompilation needed either.
Conversion time depends on the complexity of the file. Most requests are completed within a few hours.
Yes. Any binding to a specific trading account number or hardware (hardware lock) is preserved after conversion. This protection is embedded in the original file and cannot be removed or altered as part of the conversion process.
The most common causes are: account binding (the file only works on the same account as the original EX4), hardware lock restrictions, or a version mismatch with your MT5 build. If the .ex5 file returns an error, please update MT5 to the latest stable version, run the file on the same PC where it worked in MT4, or contact the file distributor to link a different account number (from MT5).
Special cases
Yes, conversion of MQL5 Market files is technically possible. However, the converted EX5 file will not appear in your Market purchase history, and it will no longer receive updates from the developer. The hardware lock will be preserved — meaning the converted file can only be used on the same machine as the original.
Yes. Uploaded files are used solely for conversion purposes and are never shared with third parties. EX4 files are compiled binaries and do not contain any personal data or account credentials.