Frequently Asked Questions about converting EX4 files to EX5

The basics

Is it possible to convert an EX4 file to EX5?

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.

Why can't I just run an EX4 file in MetaTrader 5?

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.

What is the difference between EX4 and EX5 files?

.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.

Is there an automatic EX4 to EX5 converter?

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

Do I need the source code (.mq4) to convert?

No, source code is not required. Just upload the compiled .ex4 file — no decompilation needed either.

How long does the conversion take?

Conversion time depends on the complexity of the file. Most requests are completed within a few hours.

Will account binding or hardware lock be preserved after conversion?

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.

What should I do if the converted EX5 file doesn't work in MT5?

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

Can I convert an EX4 file purchased from the MQL5 Market?

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.

Is it safe to upload my EX4 file?

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.