Download MetaTrader 5

Porting between MQL4 and MQL5

To add comments, please log in or register
Ingvar Engelbrecht
Ingvar Engelbrecht 2014.03.17 23:11 

For various reasons I want to maintain 2 versions of my EA. one MQL4 and one MQL5.

Technically it works fine with the help of the compiler directive. Practically it is a bit awkward to keep 2 versions of the source in sync since the compiler must work in 2 different environments.

 It is not only the actual source there are also includes and classes involved. I was planning on writting some REXX routines to shuffle source betwen the 2 environments but I am checking here first in case someone

has a more elegant solution.

To add comments, please log in or register