There are orders/trades not related to EA on strategy tester chart of the EA

 

Hi, 

Anybody know why on chart of an EA of a strategy tester appears orders/trades not related to the EA?

Thanks.


Attached chart that according to the EA there are only 2 positions that opened and closed (marked by the 2 rectangles),

but there are also appearing trades/orders not related to the EA (like at 8 Apr 2021 and 20 Apr 2021).

The Fundamentals of Testing in MetaTrader 5
The Fundamentals of Testing in MetaTrader 5
  • www.mql5.com
What are the differences between the three modes of testing in MetaTrader 5, and what should be particularly looked for? How does the testing of an EA, trading simultaneously on multiple instruments, take place? When and how are the indicator values calculated during testing, and how are the events handled? How to synchronize the bars from different instruments during testing in an "open prices only" mode? This article aims to provide answers to these and many other questions.
Files:
chart.JPG  64 kb
 

There are two possible reasons:

  1. You yourself messed up the chart template ' tester.tpl '
  2. You yourself messed up the plot template ' default.tpl '


How to fix: open a new chart, clear the chart from all objects. Right click and save the chart template under the name ' tester.tpl ' and under the name ' default.tpl '.


Or use my templates:

Files:
tester.tpl  3 kb
default.tpl  3 kb
 
Thanks.