help with this simple EA, i dont know why it is not working
First of all, why use
double open=iOpen(Symbol(),0,0); double close=iClose(Symbol(),0,0); double low=iLow(Symbol(),0,0); double high=iHigh(Symbol(),0,0);
Much simpler to use
double open=Open[0]; //---etc
Will this ever be true?
if(open*Point>Bid+body)
Maybe with EURUSD this will equate to
if(1.35000*0.00001>1.35000 + 60) //----or if(0.0000135 > 61.35)
I haven't looked any further into your code, but this is obviously not what is intended
GumRai thanks a lot, it solved the problem!
hi
i want to make this simple EA which will simply do reverse trade of the movement in the daily candle, so suppose the daily candle has moved 100 pips then it will do revrese for 10 pip TP
the following code i tried to make, it is not working...can you help?
there i have used print to check if it is entering the if loops, and it is not entering any loop, perhaps a little bit of change is needed i guess....