I am trying to call the MQL4 indicator with MQL5 using iCustom()
.
int test = iCustom(_Symbol,_Period,"ADXmagic.ex4");
I have copies the two buffers with number 0 and in the a and b of double type.
CopyBuffer(test,0,0,5,a);
CopyBuffer(test,1,0,5,b);
ArrayPrint(a);
ArrayPrint(b);
But the output received is completely garbage and no values:
6E+39 2E+92 0.00000 +0.00000 +0.00000
4E+230 0.00000 +0.00000 +0.00000 +0.00000
6E+39 2E+92 0.00000 +0.00000 +0.00000
4E+230 0.00000 +0.00000 +0.00000 +0.00000
6E+39 2E+92 0.00000 +0.00000 +0.00000
4E+230 0.00000 +0.00000 +0.00000 +0.00000
6E+39 2E+92 0.00000 +0.00000 +0.00000
4E+230 0.00000 +0.00000 +0.00000 +0.00000
Kindly, let me know am I correct on calling the indicator? Is there a flaw I made?