For later files, you should use an online decompilation service. Thus, you can use a decompiler to reconstruct the source code of almost any EX4 file created in 2013 and earlier. From now on the source code is compiled directly into binary code, just like C++ compiler generates. In February 2014 build 600 of MetaTrader 4 trading terminal was released, where the concept of executable code generation was radically changed. This is exactly what everyone knows the decompiler does. Programs compiled in this way can be unambiguously mapped to source code with a few exceptions (variable and function names, comments). This is similar to the way the Java Virtual Machine or the modern. In MetaTrader 4 up to build 509, the source code in MQL4 was compiled into so-called byte code.
The latest version is number 4.0.427.4 and was introduced in January 2014. The decomulator for EX4 files was created by the team in 2009. 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 decompiler is a tool to convert EX4 files into MQ4 format.