Search code examples
mql4metatrader4

How to compile an MQL4 file with a command-line tool?


Now I am compiling my MetaTrader .mq4 files to .ex4 files with MetaEditor.

But my .mq4 files are generated by a Java-process, and I would like to automate the compilation process.

Is there a command-line compiler tool I could call programmatically?


Solution

  • Yes, there is an executable in the install directory of the terminal. It is called metalang.exe.