why mql5 return me unexpected token ?

 

why in this part of code 

void CloseALLOrders()
{
   // Aggiorna i tassi di cambio prima di chiudere gli ordini.
   //RefreshRates();
   // Stampa nel terminale il totale degli ordini, attuali e passati.
   Print(OrdersTotal());
      
   // Avvia un loop per scansionare tutti gli ordini.
   // Il loop inizia dall'ultimo ordine, procedendo all'indietro; Altrimenti saltarebbe alcuni ordini.
   for (int Hi = (OrdersTotal() - 1); Hi >= 0; Hi--)
   {
      // Se l'ordine non può essere selezionato, genera e registra un errore.
      if (OrderSelect(OrderGetTicket(Hi) == false)
      {
         Print("ERRORE - Impossibile selezionare l'ordine - ", GetLastError());
         break;
      } 

return me  error

';' - unexpected token  Gui.mqh 198     79

in print line? 

 
      if (OrderSelect(OrderGetTicket(Hi)) == false)
                                        ^
 
o bad  sorrry
 
faustf #: o bad  sorrry
You do realize that that code is MT4, not MT5?
 
William Roeder #:
You do realize that that code is MT4, not MT5?
It's MQL5.
 
William Roeder #:
You do realize that that code is MT4, not MT5?

o i  start to hate mql5 , but  run in mql5 ??  because  for the moment i try to remove  1000000 bug  but fix some  appear  another  i not  want rewrite  all