Error 5031 with OrderOpen

 

Hello,

I can't place a pending order. I always receive the error 5031. It is specified by metatrader that 5031 is a date error but even when I specify the ORDER_TIME_GTC option so no expiration, it keeps giving me this error 

I really don't understand why .. :/

if(!TradeManager.OrderOpen(_Symbol,ORDER_TYPE_BUY,0.01,SLAchat(max,20),max,min,0.0,ORDER_TIME_GTC/*ORDER_TIME_SPECIFIED,StringToTime((string)(hour_end_day+hour_dif[0])+":"+(string)(minute_end_day+hour_dif[1])+":00")*/))
            Print("Error waiting order buy : ",GetLastError());
else ticket_buy = TradeManager.RequestOrder();
if(!TradeManager.OrderOpen(_Symbol,ORDER_TYPE_SELL,0.01,SLVente(min,20),min,max,0.0,ORDER_TIME_SPECIFIED,StringToTime((string)(hour_end_day+hour_dif[0])+":"+(string)(minute_end_day+hour_dif[1])+":00")))
            Print("Error waiting order sell : ",GetLastError());
else ticket_sell = TradeManager.RequestOrder();

Please need help '^^


Thank you by advance !