La demande de commande n'a pas pu être complétée : Numéro d'erreur : 4307
30 réponses
andrecesario
il y a 1 an #281585
Quelqu'un sait-il comment résoudre ce problème ? J'ai créé quelques stratégies sur SQx et j'essaie de les utiliser sur un compte de démonstration MT5. Mais ce qui se passe, c'est que lorsque l'EA a un signal d'entrée, le message Thread Title apparaît et aucune transaction n'a lieu.
Lorsque j'exécute le backtest, il fonctionne parfaitement.
tiiger79
il y a 5 mois #284961
OK, I think I found the cause.
if (_sqIsBarOpen == true) {
// init signals only on bar open
LongEntrySignal = ((((sqGetBid(“NULL”) ….
The generated code contains sqGetBid(“NULL”) , but it should be the security name eg. sqGetBid(“US500”).
tnickel
il y a 5 mois #284979
This is a bug in the sqx.
Have you reported this?
This is a prio 1 error because this effect many generated eas.
https://monitortool.jimdofree.com/
![](https://h8v7k6i3.rocketcdn.me/wp-content/uploads/2021/07/tomas262_avatar-96x96.jpg)
tomas262
il y a 5 mois #284980
![](https://h8v7k6i3.rocketcdn.me/wp-content/uploads/2021/07/tomas262_avatar-96x96.jpg)
tomas262
il y a 5 mois #284981
OK, I think I found the cause
if (_sqIsBarOpen == true) {
// init signals only on bar open
LongEntrySignal = ((((sqGetBid(“NULL”) ….The generated code contains sqGetBid(“NULL”) , but it should be the security name eg. sqGetBid(“US500”).
Can you please send us the strategy to our [email protected] email? We will rather check it
Please send both sqx and mql files
tiiger79
Il y a 4 mois #285049
Merci Tomas,
is it possible to share, what part of the mql code requires amendment to get over this error as the build 139 might take some time and the code is otherwise unusable?
Remerciements
Leandro Figueiredo
Il y a 4 mois #285065
I have the same problem with my first robot generated by strategyquant, do we already have a cause/solution?
tiiger79
Il y a 4 mois #285171
Nope, I’m trying to learn MQL5 now to fix this bug 🙂
Leandro Figueiredo
Il y a 4 mois #285176
In my case I managed to solve it by changing the 1st parameter, it is FOK and it has to be RETURN.
tiiger79
Il y a 4 mois #285177
Do you wanna share the snipet of code, please?
Leandro Figueiredo
Il y a 4 mois #285179
ORDER_FILLING_RETURN
Juan Fernando Gomez
Il y a 3 mois #285427
Hi, yesterday i uploaded some strategies on Gold and JPYUSD, and the error is showing as well. How do i fix it?
tnickel
Il y a 3 mois #285428
tiiger79
Il y a 3 mois #285429
<p style="”text-align:" right;”>I temporarily converted all the strategies to mq4, then the bug don’t appear. Let’s hope they release v139 this month as mentioned.</p>
Juan Fernando Gomez
Il y a 3 mois #285433
So ypu converted to MQL4 and upload them om MT5?
tiiger79
Il y a 3 mois #285434
Noooo, mq4 for MT4