Shihab:
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
... and you may want to re - read https://www.mql5.com/en/forum/139051
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.