Error 147 ??

 
What is error code 147 ??
Thanks.
 
Try this:



#include <stdlib.mqh>



....


//+------------------------------------------------------------------+
//| Check for close order conditions                                 |
//+------------------------------------------------------------------+
void ErrorMessage(string text)
{
   /* MessageBox(text + "(" + GetLastError() + ")", 
               "My Trader", MB_ICONEXCLAMATION | MB_OK);  */
               
               
   int err=GetLastError();
   Print("***********************************************************");
   Print("* ", text);
   Print("* ", ErrorDescription(err), " (", err, ")");
   Print("***********************************************************");

}


 
"unknown error"

Thanks Shimodax
 
147 is formerly 146. 146 is "expiration time is not allowed by broker" now
Reason: