Download MetaTrader 5

MQL4/MQL5

To add comments, please log in or register
Ingvar Engelbrecht
4504
Ingvar Engelbrecht  

I have a quite extensive MQL5 EA that uses several Libraries

For various reasons I am doing a MQL4 version.

Under what circumstances (if ever) can I use a MQL5 library? (import a .ex5 library)?

Alain Verleyen
Moderator
31184
Alain Verleyen  
Ingvar Engelbrecht:

I have a quite extensive MQL5 EA that uses several Libraries

For various reasons I am doing a MQL4 version.

Under what circumstances (if ever) can I use a MQL5 library? (import a .ex5 library)?

Not sure I get your point. Using an .ex5 with mql4 ?
Ingvar Engelbrecht
4504
Ingvar Engelbrecht  
Alain Verleyen:

Not sure I get your point. Using an .ex5 with mql4 ?

Yes. But thinking again I realized that even if I use compiler directives  (#ifdef __MQLx__) I have to recompile with the correct compiler and that makes it an ex4

So, it was a dumb question :-)

Alain Verleyen
Moderator
31184
Alain Verleyen  
To add comments, please log in or register