MT5 Tester Creates More Trades compared to Real Time Trading

 
Has anyone come across this issue? For some reasons MT5 tester is showing 838 trades (1,676 deals) compared to the real time trading of 437 trades during the same period. This was tested using "Every Tick" setting.
 

How have you checked it? Which server did you connect to?

Attach your EA, its settings in tester and other needed data.

 
alexvd:

How have you checked it? Which server did you connect to?

Attach your EA, its settings in tester and other needed data.

I found the problem in the code and it is working now. The number of trades is 463 vs. 437 live trades during the same period. MT5 backtesting is such more reliable than MT4. GREAT JOB MetaQuote!.
Reason: