Reply

Export code to MQL4

3 replies

Enric

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

Visit profile

5 years ago #233676

Hi,

I have experienced by the hard way that once you have several EA’s running at the same time on MT4, they compete to each other to send, modify, close,… orders. That’s something I solved adding this code line on MQL4

while(IsTradeContextBusy()) Sleep(10);

I’ve seen that the MQL4 code created by SQ doesn’t take care on this precaution. Which is deathly behavior on real trading. Do you do same as I do? In this case, on the robustness tests shouldn’t you pay more attention on Slippage variations?

KR

Enric

0

Enric

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

Visit profile

5 years ago #235531

Didn’t get any answer here? I saw in a old post the ‘Trade context busy’ error was discussed.

I’m trying to sort out this shitty thing by messing MQ4 code.

Is this someway fixed in SQ4? Otherwise this is a nightmare

0

hankeys

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

Visit profile

5 years ago #235536

IN SQ4 its fixed, because “order reliable” library is used in MQL code

You want to be a profitable algotrader? We started using StrateQuant software in early 2014. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM.

0

Enric

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

Visit profile

5 years ago #235540

Tnaks for the answer hankeys. That’s excellent news

0

Viewing 3 replies - 1 through 3 (of 3 total)