There could be several reasons, but without seeing the code we can only speculate.
Is this MT4? If so, the strategy tester does not have access to tick history or historical spread. This can cause discrepancies.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi every one
I face a big problem with my Expert advisor that working in ECN live account but it trades 2 or 3 trades in the account only and in back test traded 4 or 5 >?
what's the problem here ?