Metatrader Platform Build 6116 - ctrade error

 

Hi. I recently updated my platform by installing mt5 through my brokers (build 6116).
However, after the update, all my Ctrades have been failing. the image is an example, all trades using the terminal hours later also failed.


My OrderSend returns falls and i keep getting an MqlTradeResult - retcode = 0. The order ticket and comment are filled but it returns with retcode 0.

I have tried using the same EA for an older version and it works fine.

Is there anyone encountering the same problem? Because of this, I need to find a way to regress my version or else I won't be able to use my EA.

Documentation on MQL5: Trade Request Result Structure / Constants, Enumerations and Structures
Documentation on MQL5: Trade Request Result Structure / Constants, Enumerations and Structures
  • www.mql5.com
As result of a trade request , a trade server returns data about the trade request processing result as a special predefined structure of...
Files:
error mql5.png  118 kb
 
I confirm,

I run the following script:
#include <Trade\Trade.mqh>
CTrade trade;
//+------------------------------------------------------------------+
//| start function                                                   |
//+------------------------------------------------------------------+
void OnStart()
  {
   double Ask = NormalizeDouble(SymbolInfoDouble(_Symbol,SYMBOL_ASK),_Digits);
   trade.Buy(0.1,_Symbol,Ask);
  }
//+------------------------------------------------------------------+

The Buy position opens, but the following error occurs:


This occurs after updating the terminal to 6116.


This error didn't occur in previous versions.
I can say that the source of the problem is OrderSend(); it returns false regardless of the MqlTradeRequest being filled.
Please fix this or point out what I'm doing wrong.
 

I also tried using version 6116, there was an error in the order send. "failed" but strangely "done" :)


 
I confirm it too. there is a bug with build 6116.
 

Confirmed and reported to MetaQuotes.

Thank you.

 
latest update version 6118, already fixed, good job