Need help with Custom Indicator & EA
Hi, I am new to mql programming. I have an custom indicator which give buy & sell signal by putting arrow in chart window. It doesn't pass any return value for EA.
So i can't use iCustome() function from EA. How can i get the signal from EA?In the code what i have to add after "CrossUp[i] = Low[i] - Range*0.5;" & "CrossDown[i] = High[i] + Range*0.5;"?
Thatnks in advance.
> It doesn't pass any return value for EA.
Yes it does. those values are
double CrossUp[]; double CrossDown[];
referenced as
SetIndexBuffer(0, CrossUp); SetIndexBuffer(1, CrossDown);
which you can get at with iCustom.
You may need to read this again
Hi, I am new to mql programming. I have an custom indicator which give buy & sell signal by putting arrow in chart window. It doesn't pass any return value for EA.
So i can't use iCustome() function from EA. How can i get the signal from EA?In the code what i have to add after "CrossUp[i] = Low[i] - Range*0.5;" & "CrossDown[i] = High[i] + Range*0.5;"?
Thatnks in advance.