It seems that there are bugs in MT4' Strategy Tester.

 

When it calculates the profit, it has wrong result. When testing, my EA buy 0.1 lot EURGBP at 0.5064 and close it at 0.5127, the profit I get is -157.83.  It should be a value greater than 0 I think. I attach the testing result here. It is only one example, I met many times which the profit result is wrong. 

 
valleyfir:

When it calculates the profit, it has wrong result. When testing, my EA buy 0.1 lot EURGBP at 0.5064 and close it at 0.5127, the profit I get is -157.83.  It should be a value greater than 0 I think. I attach the testing result here. It is only one example, I met many times which the profit result is wrong. 


I couldn't attach a html file in my last post. So I copy the result here. Please help me to see this problem.

verageprofit trade734.79loss trade-244.35
Maximumconsecutive wins (profit in money)1 (1158.94)consecutive losses (loss in money)2 (-488.69)
Maximalconsecutive profit (count of wins)1158.94 (1)consecutive loss (count of losses)-488.69 (2)
Averageconsecutive wins1consecutive losses2

#TimeTypeOrderSizePriceS / LT / PProfitBalance
11982.11.15 00:00buy10.100.46070.00000.0000
21983.06.06 00:00close10.100.48640.00000.0000310.6410310.64

3

1984.02.13 00:00

buy

2

0.10

0.5064

0.0000

0.0000

4

1985.04.08 00:00

close

2

0.10

0.5127

0.0000

0.0000

-157.83

10152.81
51993.09.27 00:00buy30.100.79210.00000.0000
61993.11.22 00:00close30.100.77480.00000.0000-330.869821.95
71994.04.11 00:00buy40.100.77430.00000.0000
81996.03.04 00:00close40.100.86780.00000.00001158.9410980.89

 
valleyfir:

I couldn't attach a html file in my last post. So I copy the result here. Please help me to see this problem.

verageprofit trade734.79loss trade-244.35
Maximumconsecutive wins (profit in money)1 (1158.94)consecutive losses (loss in money)2 (-488.69)
Maximalconsecutive profit (count of wins)1158.94 (1)consecutive loss (count of losses)-488.69 (2)
Averageconsecutive wins1consecutive losses2

#TimeTypeOrderSizePriceS / LT / PProfitBalance
11982.11.15 00:00buy10.100.46070.00000.0000
21983.06.06 00:00close10.100.48640.00000.0000310.6410310.64

3

1984.02.13 00:00

buy

2

0.10

0.5064

0.0000

0.0000

4

1985.04.08 00:00

close

2

0.10

0.5127

0.0000

0.0000

-157.83

10152.81
51993.09.27 00:00buy30.100.79210.00000.0000
61993.11.22 00:00close30.100.77480.00000.0000-330.869821.95
71994.04.11 00:00buy40.100.77430.00000.0000
81996.03.04 00:00close40.100.86780.00000.00001158.9410980.89

Sorry, there are no bugs with MT4. The swap is high when trade on a weekly line. No problems now.

Reason: