Download MetaTrader 5
To add comments, please log in or register
Do you need OpenCL? MQL5 can provide it!
Bogdan Alin Baltatu
2742
Bogdan Alin Baltatu 2015.05.21 14: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 

whroeder1
13610
whroeder1 2015.05.21 18:08  
   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