why do I get different back-testing results with all the same setting(EA, date range, all parameters, etc.) I'm going crazy

 

I test 4 times, I got 4 different result as follow:

First test:
first test




second test:

Third test:

Forth test, fifth, sixth....... : , and it fix on the result, but when I close the MT4 app and run again, the result change to the figure no.1 again. I'm going crazy. who can help me please:)

 
What was the Spread for each run ?
 

I use default setting, spread is 2.

 
alucius:

I use default setting, spread is 2.

Default is live spread, so during each run what was the actual spread at the time ? don't you Print() it from your EA ?
 

WOW!!! my god!!!


I found the problem is caused by SPREAD!!!

Thanks for the suggestion by RaptorUK.

Thank you Thank you very much!!! :)

I had been confused by the problem long time!!!

but the next question:

why MT4 use the random spread? not the default setting as shows?

how do I do for the situation?

 

the account is a ECN account,

how do I setting for the spread to close the real situation as possible?

 
alucius:

WOW!!! my god!!!


I found the problem is caused by SPREAD!!!

Thanks for the suggestion by RaptorUK.

Thank you Thank you very much!!! :)

I had been confused by the problem long time!!!

but the next question:

why MT4 use the random spread? not the default setting as shows?

how do I do for the situation?

When you set Default the current spread is used at the time when you start the test, so with a variable spread Broker the spread can change from test to test. There are 2 ways to avoid this, set the spread you want to test with using a value other than Default, or disconnect from your Broker while you test.
 

okay!!:)

thanks for your patient and help.

you really do me a BIG favor.

I will try it as your suggestion.:)

Reason: