whats the cause of this problem?

As you see in the picture on strategy tester my expert enter and exit in the market at the sametime with like 40pip profit and this ruin all my calculation and so cant trust to strategy tester result .how can i solve this problem?
1.PNG  18 kb