How can I find MT4 build from MQL4?

Back to topics list To post a new topic, please log in or register
avatar
41
dudufx 2015.05.21 16:25
 

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 

avatar
13006
WHRoeder 2015.05.21 20:08 #
 
   int     build = TerminalInfoInteger(TERMINAL_BUILD)
   if(build < __MQLBUILD__){
      PrintFormat("Terminal=%i, must be at least %i", build, __MQLBUILD__);
      return INIT_FAILED;
   }

Back to topics list  

To add comments, please log in or register