The order request could not be completed: Error no.: 4307
35 replies
andrecesario
1 year ago #281585
Does anyone know how to fix? I have created some strategies on SQx and I am trying to use them on an MT5 demo account. But what happens is that when the EA has an entry signal, the Thread Title message appears and no trades take place.
When I run the backtest, it works perfectly.
Julian Santos
1 month ago #287295
Hi!
I’m having these problem with strategies generated with v137 on different strategies and symbols.
Is there any working solution rather than upgrading to a new version?
Could you please confirm from which version on the problem has been solved?
Thank you in advance!
tomas262
1 month ago #287344
Please share the strategy and MT broker you use, we could test this
Julian Santos
1 month ago #287361
Thank you very much, Thomas, for your answer.
In my case, the solution was quite weird: I forgot to activate the Automated Trading, and the error was so unspecific I couldn’t find out where the problem was after a couple of weeks.
So, nothing related to SQX!
Emmanuel
2 weeks ago #287537
Julian Santos,
1/ Which money managment do you use ?
2/ Which broker do you use ?
3/ would you please attached your Metatrader log ?
You can as well send your MT log and info to support directly.
This would be a great help, if you bring these elements
Thank you in advance
Emmanuel
2 weeks ago #287546
Please, check the MT log, you may have the error in the previous line
if you look at the attached screen capture, you will see an invalid volume error in the ‘failed market buy line’
In this case, the instrument J225, have a step 0.1.
A size lots of 1.39 is incorrect, it should have 1.4.
the 4307 error can appear if there is not enough margin, or if the entry is outside of the trading session as well.
https://www.mql5.com/en/forum/335996
https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes