problem with calling Bars function

To add comments, please log in or register
KarolDrze
11
KarolDrze  

Hi, 

I'm converting my EA from mql4 to mql5 and I'm stuck with Bars function

please help, I'm going mad...

      int cntFromNow(datetime barDate)
      {
         return Bars(_Symbol, _Period, Time[0], barDate);
      }


Seng Joo Thio
1216
Seng Joo Thio  
KarolDrze:

Hi, 

I'm converting my EA from mql4 to mql5 and I'm stuck with Bars function

please help, I'm going mad...


Scroll up your Errors tab and resolve the errors top down.

KarolDrze
11
KarolDrze  
this is my "top" error, everything above are warnings
KarolDrze
11
KarolDrze  
solved... problem was in "magic" mqh file that should help migrating... it was overriding Bars function
To add comments, please log in or register