ResultRetcodeDescription – library MetaTrader 5

ResultRetcodeDescription - library for MetaTrader 5
Real Author: MetaQuotes This simple function returns a string of decrypted code of the trade operation result from MqlTradeCheckResult after executing the OrderCheck() function:    MqlTradeCheckResult check; //—- Checking for correctness of trade request    if(!OrderCheck(request,check))      {       Print(__FUNCTION__,”(): OrderCheck(): “,ResultRetcodeDescription(check.retcode));       return(false);      } Alternatively, it can return a string from MqlTradeResult after executing … Read more