I have an indicator that shows up and down arrows and I want to use it in an EA. Knowing that the 0 is for up and 1 for down arrow respectevily withing the indicator code.
I amtrying to write the code to detect the up arrow as,
if (iCustom(NULL, NULL, "D0-3",89,0,0) != (iCustom(NULL, NULL, "D0-3",89,1,0)))
and for down the opposite;
if (iCustom(NULL, NULL, "D0-3",89,0,0) != (iCustom(NULL, NULL, "D0-3",89,1,0)))
My questions is would this icustom code determine the existence of up and down arrows as they appears on the chart.
Thanks in advance,
I amtrying to write the code to detect the up arrow as,
if (iCustom(NULL, NULL, "D0-3",89,0,0) != (iCustom(NULL, NULL, "D0-3",89,1,0)))
and for down the opposite;
if (iCustom(NULL, NULL, "D0-3",89,0,0) != (iCustom(NULL, NULL, "D0-3",89,1,0)))
My questions is would this icustom code determine the existence of up and down arrows as they appears on the chart.
Thanks in advance,