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); } //+------------------------------------------------------------------+
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.
Confirmed and reported to MetaQuotes.
Thank you.
latest update version 6118, already fixed, good job
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register



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.