Download MetaTrader 5

Libraries: ErrorDescription

To add comments, please log in or register
What is MetaQuotes ID? Find that out from the article!
Automated-Trading
Admin
99862
Automated-Trading 2010.02.08 14:41 

ErrorDescription:

The library contains functions that returns description of runtime error codes and trade server return codes.

Author: MetaQuotes Software Corp.

investeo
4098
investeo 2010.02.08 18:55  
Automated-Trading posted  :

ErrorDescription:

Author: MetaQuotes Software Corp.

What about trade server return code 10027?


https://www.mql5.com/en/forum/458

Rashid Umarov
Admin
11826
Rashid Umarov 2010.02.08 20:17  
Try to use this library with code 10027. We are going to update MQL5 Help.

investeo
4098
investeo 2010.02.08 21:33  
Rosh:
Try to use this library with code 10027. We are going to update MQL5 Help.


Library does not compile on MT5 build 244


'ErrorDescription.mqh'    ErrorDescription.mqh    1    1
'TRADE_RETCODE_NO_CHANGES' - undeclared identifier    ErrorDescription.mqh    37    12
'TRADE_RETCODE_SERVER_DISABLES_AT' - undeclared identifier    ErrorDescription.mqh    38    12
'TRADE_RETCODE_CLIENT_DISABLES_AT' - undeclared identifier    ErrorDescription.mqh    39    12
'TRADE_RETCODE_LOCKED' - undeclared identifier    ErrorDescription.mqh    40    12
'TRADE_RETCODE_FROZEN' - undeclared identifier    ErrorDescription.mqh    41    12
no executable file produced        1    1
6 error(s), 0 warning(s)        1    1
Rashid Umarov
Admin
11826
Rashid Umarov 2010.02.09 06:15  
investeo:


Library does not compile on MT5 build 244

Sorry, wait for update, please.
Andrei Moraru
1160
Andrei Moraru 2015.04.03 21:42  
ERR_CHART_WRONG_TIMER_PARAMETER code is not defined in Build 1100. It should be removed from this library as it gives a compilation error.
Otto Pauser
737
Otto Pauser 2016.03.12 07:44  

In errordescription.mqh line82 should be corrected

//      case ERR_CHART_WRONG_TIMER_PARAMETER:  return("Wrong parameter for timer");
      case ERR_CHART_WRONG_PARAMETER:        return("Wrong parameter for timer");

I commented it out, so it works.

evertonbg
28
evertonbg 2017.02.12 16:21  
Otto Pauser:

In errordescription.mqh line82 should be corrected

//      case ERR_CHART_WRONG_TIMER_PARAMETER:  return("Wrong parameter for timer");
      case ERR_CHART_WRONG_PARAMETER:        return("Wrong parameter for timer");

I commented it out, so it works.

It works for me.

#define ERR_CHART_WRONG_TIMER_PARAMETER ERR_CHART_WRONG_PARAMETER
Libraries: ErrorDescription
Libraries: ErrorDescription
  • www.mql5.com
The library contains functions that returns description of runtime error codes and trade server return codes.
To add comments, please log in or register