Download MetaTrader 5
To add comments, please log in or register
Store your source codes in MQL5 Storage. It is secure!
Fa Cao
1141
Fa Cao 2013.12.09 09:08 

I have made an EA and test it, it is ok, the result profit is 5000; to optimize the EA, I copy it on an blank EA, named "test_0", then I changed many variables to test, and at last i find it become worse when I change variables.

Now I copy this EA's code into "test_0" again and test again, I find it is different from before, result is not 5000, but 3100.

what is the matter?

Simon Gniadkowski
Moderator
17972
Simon Gniadkowski 2013.12.09 09:12  
vx0532:

I have made an EA and test it, it is ok, the result profit is 5000; to optimize the EA, I copy it on an blank EA, named "test_0", then I changed many variables to test, and at last i find it become worse when I change variables.

Now I copy this EA's code into "test_0" again and test again, I find it is different from before, result is not 5000, but 3100.

what is the matter?

What was the Spread for each of the test runs ?
Fa Cao
1141
Fa Cao 2013.12.09 10:07  
RaptorUK:
What was the Spread for each of the test runs ?


10
Simon Gniadkowski
Moderator
17972
Simon Gniadkowski 2013.12.09 10:08  
vx0532:

10
You set it manually ? or did you use Current ?
Fa Cao
1141
Fa Cao 2013.12.09 11:20  
RaptorUK:
You set it manually ? or did you use Current ?


set by myself;it never change

Alain Verleyen
Moderator
29476
Alain Verleyen 2013.12.09 14:56  
vx0532:


set by myself;it never change

So other thing(s) have change. You have to find what.
Simon Gniadkowski
Moderator
17972
Simon Gniadkowski 2013.12.09 16:22  
vx0532:


set by myself;it never change

OK, so it's because of the variables you changed . . .
/
To add comments, please log in or register