MQ4 files, on the other hand, are the source code files written in MQL4. These files can be compiled into EX4 files, which can then be executed by the MT4 platform.