hi
My EA which has worked for the past 9 months or so is now giving me TP errors unless I use a TP of 4 ( I usually use between 10 and 200 depending) then when the order is actually placed it sets the TP to zero...
int li_8 = OrderTypeDirection();
Print("TakeProfit value is not set due to server connection error. Please modify the order and set it manually");
double l_price_0 = g_str2dbl_244 + TakeProfit * Point * li_8;
OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_price_0, 0, Red);
return (0);
Can anyone offer assistance?
My EA which has worked for the past 9 months or so is now giving me TP errors unless I use a TP of 4 ( I usually use between 10 and 200 depending) then when the order is actually placed it sets the TP to zero...
int li_8 = OrderTypeDirection();
Print("TakeProfit value is not set due to server connection error. Please modify the order and set it manually");
double l_price_0 = g_str2dbl_244 + TakeProfit * Point * li_8;
OrderModify(OrderTicket(), OrderOpenPrice(), OrderStopLoss(), l_price_0, 0, Red);
return (0);
Can anyone offer assistance?