MQL4 to MQL5 Converter
-
Hi dear fellow, i need to convert this mq4 indicator to mq5, but when I compile it in Metaeditor 5 I find the following error: "iBandsOnArray-function not defined"
I'm not a codere at all, someone who chews mql5 language to solve this problem? Thanks
Here are the two files0_1565716107212_Pairs_Ratio.mq4
0_1565716124128_Pairs_Ratio.mq5
and the error

-
As fas as I know, the fxDreema converter does not work with indicators, I'm afraid.
-
@l-andorrà oh no, i have already converted several indicators, even customized ones, without problem
-
-
Didn't know that! I learnt something new about fxDreema today!

-
@l-andorrà It works with indicators, but I noticed that for some of them there are certain differences that I don't know how to manage.
iBandsOnArray()... I don't remember why I skipped this function. I see that I never wrote any code for it. From all "...OnArray()" functions I only wrote code for "iMAOnArray()". I remember that this one was probably the hardest function for me to write for MQL5 and I can even see that now I have this comment in it for MODE_LWMA:
// TODO lazy fix - I was too tired and lazy to do this in the best waySo to be honest, I don't feel that I really want to make these OnArray() functions right now
Knowing myself, I will choose to do something else that I consider more important or easier for me to do 
-
@fxdreema do as you like