I want to create an EA bassed on the 18_28cross indicator (attached) http://codebase.mql4.com/2755
I used the following statements to get the values of the two buffers of the indicators but they didn't return expected value.
double crossup = iCustom(NULL , 0, "18_28Cross", 0, 0);
double crossdown = iCustom(NULL , 0, "18_28Cross", 1, 0);
Could anyone kindly suggest if i'm doing wrong?
Thanks
Sarran
I used the following statements to get the values of the two buffers of the indicators but they didn't return expected value.
double crossup = iCustom(NULL , 0, "18_28Cross", 0, 0);
double crossdown = iCustom(NULL , 0, "18_28Cross", 1, 0);
Could anyone kindly suggest if i'm doing wrong?
Thanks
Sarran