Reply

The order request could not be completed: Error no.: 4307

35 replies

andrecesario

Subscriber, bbp_participant, customer, community, 4 replies.

Visit profile

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.

Attachments:
You must be logged in to view attached files.

0

tiiger79

Subscriber, bbp_participant, community, customer, 14 replies.

Visit profile

10 months ago #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”).

 

 

0

tnickel

Customer, bbp_participant, community, sq-ultimate, 495 replies.

Visit profile

10 months ago #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/

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

10 months ago #284980

Hi,

thank you, we know about this. It has been fixed into the next update – build 139

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

10 months ago #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

0

tiiger79

Subscriber, bbp_participant, community, customer, 14 replies.

Visit profile

10 months ago #285049

Thanks 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?

 

Thanks

0

Leandro Figueiredo

Subscriber, bbp_participant, sq-ultimate, customer, community, 3 replies.

Visit profile

10 months ago #285065

I have the same problem with my first robot generated by strategyquant, do we already have a cause/solution?

0

tiiger79

Subscriber, bbp_participant, community, customer, 14 replies.

Visit profile

10 months ago #285171

Nope, I’m trying to learn  MQL5 now to fix this bug 🙂

0

Leandro Figueiredo

Subscriber, bbp_participant, sq-ultimate, customer, community, 3 replies.

Visit profile

10 months ago #285176

In my case I managed to solve it by changing the 1st parameter, it is FOK and it has to be RETURN.

0

tiiger79

Subscriber, bbp_participant, community, customer, 14 replies.

Visit profile

10 months ago #285177

Do you wanna share the snipet of code, please?

0

Leandro Figueiredo

Subscriber, bbp_participant, sq-ultimate, customer, community, 3 replies.

Visit profile

10 months ago #285179

ORDER_FILLING_RETURN

Attachments:
You must be logged in to view attached files.

1

Juan Fernando Gomez

Subscriber, bbp_participant, customer, community, sq-ultimate, 6 replies.

Visit profile

9 months ago #285427

Hi, yesterday i uploaded some strategies on Gold and JPYUSD, and the error is showing as well. How do i fix it?

Attachments:
You must be logged in to view attached files.

0

tnickel

Customer, bbp_participant, community, sq-ultimate, 495 replies.

Visit profile

9 months ago #285428

Order filling don’t help. I wait for the next sq update

https://monitortool.jimdofree.com/

0

tiiger79

Subscriber, bbp_participant, community, customer, 14 replies.

Visit profile

9 months ago #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>

0

Juan Fernando Gomez

Subscriber, bbp_participant, customer, community, sq-ultimate, 6 replies.

Visit profile

9 months ago #285433

So ypu converted to MQL4 and upload them om MT5?

0

tiiger79

Subscriber, bbp_participant, community, customer, 14 replies.

Visit profile

9 months ago #285434

Noooo, mq4 for MT4

0

Viewing 15 replies - 16 through 30 (of 35 total)

1 2 3