Reply

Trade context is busy… again

2 replies

Enric

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

Visit profile

4 years ago #247642

Hi,

One of the nightmares in MT4 when you have several strategies running on the same terminal is the error message ‘Trade context is busy’.

SQX solves this problem because on the MQL4 code makes several attempts and reattempts until the order is taken.

Question: How many attempts? Is there any parameter on SQX to set it or you must edit the MQL4 code to be able to modify this number?

0

hankeys

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

Visit profile

4 years ago #247648

MQL4 template has this default settings of retries:

int retry_attempts       = 10000; // general retry attempts

int retry_attempts_bad_price   = 3;  // retry attempts if the error is bad price

double sleep_time       = 2.0;

double sleep_maximum       = 20.0;

if you want to edit these values, you need to change it in the MQL template or right in the 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

4 years ago #247959

Ok. Found it. Thanks!

0

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