Software test engineer & MQL coder
pm me for projects
lippmaje
Опубликовал код Log4mql(mini) MT5
A light header-only version of Log4mql that provides standardized logging.
1 155
lippmaje
Опубликовал код Log4mql(mini) MT4
A light header-only version of Log4mql that provides standardized logging.
256
lippmaje
Опубликовал код Log4mql (MT5)
A logging library similar to Log4j but for MQL.
334
lippmaje
Опубликовал код Log4mql (MT4)
A logging library similar to Log4j but for MQL.
324
lippmaje
lippmaje
How to display the error text of a runtime error, MQL 4/5 compliant:
 
#ifdef __MQL5__
#include <errordescription.mqh>
#else
#include <stdlib.mqh>
#endif
 
int OnInit ()
  {
   ResetLastError ();
   // do something that might set an error
   if ( _LastError )
     {
       Print ( "error: " , _LastError , " " ,ErrorDescription( _LastError )); // error: 4802 Indicator cannot be created
       return INIT_FAILED ;
     }
   return INIT_SUCCEEDED ;
  }
 
And the errordescription.mqh (needed for .mq5) you get from here:
https://www.mql5.com/en/code/79
lippmaje
Опубликовал код iRSIOnArray for MT5
Header with iRSIOnArray function for use with MQL 4 or 5 code.
336
lippmaje
Зарегистрировался в MQL5.community