Can't compile fxdreema mq5 file on MetaEditor
-
Hi @fxDreema ,
I'm generating a mq5 from this project fxdreema.com/shared/QwsjNdLAd but I'm unable to compile it on my MetaEditor. You'll find the erros in the image below. Some further information:
- This EA compiles correctly if I generate an .ex5 directly from fxDreema
- I'm not adding any custom code to it before I try to compile on MetaEditor. But I will need to add later, that's why I need the mq5 file to compile from MetaEditor
- My MT5/MetaEditor version is build 1835
Can you please take a look at what could be the problem?
Here is the error log:

-
Interesting. This function iBars was not present in MQL5 as long as I know and that's why I defined it. On the server the compiler I use is a bit older and that's why it works. On your PC MetaTrader is the newest version and maybe they added this function lately, although I can't find anything about it in the documentation.