Download MetaTrader 5

How can I find MT4 build from MQL4?

To add comments, please log in or register
Bogdan Alin Baltatu
2937
Bogdan Alin Baltatu  

Hello,

I want to find MT4 build from mql4 code. How can i do this?

The reason is my programs work only in MT4 build 765 or highter.

Thanks 

whroeder1
15335
whroeder1  
   int     build = TerminalInfoInteger(TERMINAL_BUILD)
   if(build < __MQLBUILD__){
      PrintFormat("Terminal=%i, must be at least %i", build, __MQLBUILD__);
      return INIT_FAILED;
   }
To add comments, please log in or register