CopyBuffer failure New comment Erwann Pannerec 2019.03.03 23:21 Hi programmers, I try to use copybuffer just after iCustom function like that : double stopbuff[]; int myhandle = iCustom("EURUSD",PERIOD_H1,"Examples\\ParabolicSAR.ex5"); Print(CopyBuffer(myhandle,0,0,1,stopbuff)); In the Real market debugger, the Print returns 1 so the function CopyBuffer works well immediatly. But if I try that in the Tester, the Print returns -1... and after several time the CopyBuffer function seems work well. Any ideas about the issue in the tester ? Thanks ! Erwann. Strategy Tester and iCustom()+CopyBuffer() CopyBuffer error MQL5 Libraries: IncMAOnArray New comment
Hi programmers,
I try to use copybuffer just after iCustom function like that :
In the Real market debugger, the Print returns 1 so the function CopyBuffer works well immediatly.
But if I try that in the Tester, the Print returns -1... and after several time the CopyBuffer function seems work well.
Any ideas about the issue in the tester ?
Thanks !
Erwann.