EA signal
MF10000: I stell don't know how to make the EA know when the indicator changing color
You look in the data window and find out which buffers correspond to which color.
Thanks,
I found which buffers correspond to which color,but the problem is that I don't know how to write the if() function that it well give BUY/SELL signel when the colors change.
Of course not,it is not what I want you to do.
void CheckForTrade() { double HMAlong = iCustom(NULL,0,"HMA_Russian_Color",21,0//buffer,1//Shift); double HMAShort = iCustom(NULL,0,"HMA_Russian_Color",21,1//buffer,2//Shift); if(????-Here my problem,I dont know what to write.) }
Hello,
Waht I need to write in the EA code if I want that every time the indicator(attach) change color the EA will open BUY/SELL order?