Download EX4 decompiler
The decompiler is a tool to convert EX4 files into MQ4 format. In other words, this program is designed to restore the source code of expert advisors (EA), technical indicators and scripts in the MetaTrader 4 trading terminal environment.
The decomulator for EX4 files was created by the purebeam.biz team in 2009. The latest version is number 4.0.427.4 and was introduced in January 2014.
How it works?
In MetaTrader 4 up to build 509, the source code in MQL4 was compiled into so-called byte code. This is similar to the way the Java Virtual Machine or the modern .NET Framework compiler works. Programs compiled in this way can be unambiguously mapped to source code with a few exceptions (variable and function names, comments). This is exactly what everyone knows the decompiler does.
In February 2014 build 600 of MetaTrader 4 trading terminal was released, where the concept of executable code generation was radically changed. From now on the source code is compiled directly into binary code, just like C++ compiler generates .exe files.
Thus, you can use a decompiler to reconstruct the source code of almost any EX4 file created in 2013 and earlier. For later files, you should use an online decompilation service.
Where to download the decompiler?
You can easily find a link to download the decompiler version 4.0.427.4 on the Internet. You can download this software absolutely for free. However, you can still find offers to buy such a decompiler and use it for modern EX4 files compiled by the actual MetaEditor builds. So what is behind such offers?
It's important to understand that all the 100% offers to buy a decompiler are scams. There is no decompiler for MT4 build 600 or newer. Moreover, its creation is impossible in principle. When you pay money to such people, at best you will get an obsolete decompiler that can be downloaded free of charge, and at worst you will get nothing.
So what to do? How should the EX4 files be decompiled today?
There is a solution to this problem. Nowadays, the decompiling of EX4 files is done manually by teams of skilled professionals. The most famous such team is EX4toMQ4.pro. Those guys have been working since 2005 and have huge experience in restoring source code of their EX4 and EX5 files.
However, not every file can be decompiled. However, in about 85% of cases it is possible. In order to determine whether your EX4 file can be decompiled, fill in this form.