Martingale EA - page 14

 

Excellent thread we are having here...i believe the way to go with this is to have small tp target and fixed steps lots increment and we should survive.

Eagerly awaiting v1_3!!

 
Autumm:
Excellent thread we are having here...i believe the way to go with this is to have small tp target and fixed steps lots increment and we should survive. Eagerly awaiting v1_3!!

Looking forward to you helping the testing process.

 
wolfe:
Looking forward to you helping the testing process.

My only concern is the apparent problem with trading orders stopping..

I've looked in the logs and journal, I see no error messages reported.

 
WNW:
My only concern is the apparent problem with trading orders stopping.. I've looked in the logs and journal, I see no error messages reported.

New version should hopefully fix this problem. I'll post it after a few hours of market open today. I want to test a little before posting. I'll still need help searching for bugs.

 

v1_3 will print to the trade log if the following errors occur while trying to place an order:

case 4: error_string="trade server is busy";

case 6: error_string="no connection with trade server";

case 128: error_string="trade timeout";

case 134: error_string="not enough money";

case 136: error_string="off quotes";

case 137: error_string="broker is busy (never returned error)";

case 138: error_string="requote";

case 146: error_string="trade context is busy";

case 148: error_string="amount of open and pending orders has reached the limit";

It should then re-try OrderSend() a set number of times, controlled through external variable Number_Of_Tries before it gives up and prints:

Print("Error opening Additional order : ", ErrorDescription(Error));

Time will tell if these new code additions will help the functionality of TFX.

 

dude... TFX rules...

will you be my guru..lol (satirically speaking )

ES

wolfe:
v1_3 will print to the trade log if the following errors occur while trying to place an order:

case 4: error_string="trade server is busy";

case 6: error_string="no connection with trade server";

case 128: error_string="trade timeout";

case 134: error_string="not enough money";

case 136: error_string="off quotes";

case 137: error_string="broker is busy (never returned error)";

case 138: error_string="requote";

case 146: error_string="trade context is busy";

case 148: error_string="amount of open and pending orders has reached the limit";

It should then re-try OrderSend() a set number of times, controlled through external variable Number_Of_Tries before it gives up and prints:

Print("Error opening Additional order : ", ErrorDescription(Error));

Time will tell if these new code additions will help the functionality of TFX.
 

hi,

i am following this thread with great interest, now i am back testing ea using lot increment = 0, because i accoutn must survive.

can you post .set file ? ( to setup sl_percent tp_percent ...)

thanks in advance

giapel

 
ElectricSavant:
dude... TFX rules...

will you be my guru..lol (satirically speaking )

ES

Let's hope it works the way I have envisioned it. My brain is fryed from coding.

v1_3 has twice as much code in it as v1_2.

 
giapel:
hi,

i am following this thread with great interest, now i am back testing ea using lot increment = 0, because i accoutn must survive.

can you post .set file ? ( to setup sl_percent tp_percent ...)

thanks in advance

giapel

Read the comments in the code for the external variables. This will help you.

 

Has version 1.3 been posted somewhere and I've overlooked it?

Reason: