Looking for assistance with EA. I am new to MQL4 code and have done what i can but can't work out what i have missed or done wrong.
Orders are opening as they should and closing at expiration time.
Orders are not deleting on activation of opposite order and order modify for stop is not working.
Can i please get some assistence. (could be something simple and dumb)
few order should be checked and possible data loss errors im trying to work out as well.
int totalorders = OrdersTotal();
if ((Hour()==10) && (Minute()==0) && (Seconds()==01))
ticket1 = OrderSend( Symbol(),OP_BUYSTOP,Lots,t1, 3,sl1,tp1,"BUY PLACED",Magic,0,Blue);
Thanks for the info..
Will look into it and hopefully work it out :)