Mql4 to Mql5 convertor problem
-
Hi Fxdreema... Maybe its me but could you please explain why I get this error when converting an indicator. Thank you
The original file: 0_1640511652897_Market Profile ay-MarketProfileDWM.v1.31rev.mq4
Converted Mql5 file: 0_1640511734787_Market Profile ay-MarketProfileDWM.v1.31rev.mq5
And this is what comes out when compiled:

-
@alphaomega just copy the code ignore the downloaded
however the converter has a real issue not very accurate -
-
@alphaomega Yes, the converter is not reliable yet. Just download in as mq4 and then change the file type to mq5 directly without the converter.
-
The problem is that you have not made the EA in fxDreema MQL4, but the code is original or native MQL4, fxDreema does not recognize it, you should first pass it to fxDreema by hand, that is, generate the EA in fxDreema and then you could convert it into fxDreema to MQL5 but think that there are many blocks that do not exist in MQL4 and / or MQL5 and if one of these is, the translation will be impossible.
I hope I've helped.
-
@xyon126 Happy New year to you... I am sorry to disagree with you., No matter.. its the same .... mql4 code format from where ever... the format is the same so that is not the problem... The real problem is its a bad convertor and it needs fixing. Thank you for your input
-
@alphaomega hi! A long time ago I solved this way: I copied the code generated by the converter into an empty meta editor indicator file, then i compiled it.


But this time I wasn't lucky, the file doesn't show anything on the graph
These are the files: 0_1640987888846_MARKET_PROFILE.ex5
0_1640987894856_MARKET_PROFILE.mq5
Maybe the mq5 file needs some fix, but i don't know, i'm not a coder.
-
@ambrogio said in Mql4 to Mql5 convertor problem:
@alphaomega hi! A long time ago I solved this way: I copied the code generated by the converter into an empty meta editor indicator file, then i compiled it.


But this time I wasn't lucky, the file doesn't show anything on the graph
These are the files: 0_1640987888846_MARKET_PROFILE.ex5
0_1640987894856_MARKET_PROFILE.mq5
Maybe the mq5 file needs some fix, but i don't know, i'm not a coder.
Thank you my friend for giving it a go. The errors you got is the same errors I had. I googled it and what I understand from it is that the indicator was written in a previous mql4 form, in other words by now not updated. So the the Fxdreema convertor makes errors not reading mql4 type correctly.. I am also not a coder so it the blind leading the blind here
When Fxdreema comes from holiday maybe he can share us some white light.