Download MetaTrader 5

how can I convert this code from MT4 to MT5?

To add comments, please log in or register
HongDi s& t development co.,ltd.
1605
hongbin fei  
This two code is writen in MT4 expert, how to convert? thanks!


   if((iBarShift(NULL,0,time2)-iBarShift(NULL,0,Time[0]))<=2) continue;
 
 
 

   if(ObjectGetValueByShift(objName,BarId)>0 

Paul
784
Paul  
codeidea :
This two code is writen in MT4 expert, how to convert? thanks!


   if((iBarShift(NULL,0,time2)-iBarShift(NULL,0,Time[0]))<=2) continue;
 
 
 

   if(ObjectGetValueByShift(objName,BarId)>0 

 


Check out the MQL4 to MQL5 conversion work by circlesquares and fai here https://www.mql5.com/en/forum/121011/page18
Beta Testing of MetaTrader 5 Has Started! - MQL4 forum
  • www.mql5.com
Beta Testing of MetaTrader 5 Has Started! - MQL4 forum
To add comments, please log in or register