How to remove autotrade history in backtesting

 

How can I remove those arrows autotrade history in backtesting, I am having a hard time identifying the backtest trades as it is cluttered by those autotrade history.

 

I am having the same issue - did you find a solution? 

 
Visual mode and a new chart will be opened
 

I have cleared all objects from chart but on each trial backtest of the EA  - there are many many 'autotrades' alongside the actual trades executed by my EA. 

I have seen other older posts suggesting ways to remove these via Tools >> Options >> Trade, but this is not the case in MT5 platform. Do you use MT5? 

 

Hi all,

I found solution to this problem. Do the following:

1) Create new chart for required product/pair

2) Right-click on chart and choose 'Properties' 

3) Untick 'Show Trade History' 

4) Save template as "tester"

5) Run backtest in visual mode 

6) Voila! No more autotrade arrows 

 
spinner461 #:

Hi all,

I found solution to this problem. Do the following:

1) Create new chart for required product/pair

2) Right-click on chart and choose 'Properties' 

3) Untick 'Show Trade History' 

4) Save template as "tester"

5) Run backtest in visual mode 

6) Voila! No more autotrade arrows 

Thanks a lot, it works :D
 
spinner461 #: 4) Save template as "tester"

The template ordering for new charts is «EAname».tpl, (if tester) tester.tpl, (if debugging) debug.tpl (if offline chart) offline.tpl, and then Default.tpl.

Set your chart the way you want and save a template and then apply it onto all other existing charts.

A template is just a text file. You can edit it.
          Hide/Show indicators - MQL4 programming forum #3

Perhaps you should read the manual.
          Templates and Profiles - Working with Charts - MetaTrader 4 Help
 
spinner461 #:

Hi all,

I found solution to this problem. Do the following:

1) Create new chart for required product/pair

2) Right-click on chart and choose 'Properties' 

3) Untick 'Show Trade History' 

4) Save template as "tester"

5) Run backtest in visual mode 

6) Voila! No more autotrade arrows 

Hi spinner461, i followed your step carefully but could not get this working. I placed the all possible combination of file names but still no luck.
i have try tester.tpl, debug.tpl and default.tpl but none of them is able to disable trade history while those template was created in the MT5 with no trade history (i have also check each file and confirm tradehistory=0) and those files are placed in "C:\Users\{user}\AppData\Roaming\MetaQuotes\Terminal\5806DB6E967935BF270BE17310224BB4\MQL5\Profiles\Templates\XXXX"
Greatly appreciated if further hints can be provided.
my MT5 version is Version:5.00.5200(01Aug2025)
spinner461 - Trader's profile
spinner461 - Trader's profile
  • 2021.11.14
  • www.mql5.com
Trader's profile
 
Teddy VRX #Thanks a lot, it works :D
Hi Teddy VRX, would you mind sharing how did you done to disable trade history on visual mode in strategy tester?
 
harumame #:
Hi Teddy VRX, would you mind sharing how did you done to disable trade history on visual mode in strategy tester?

read Williams response at #6 you can delete or create a new visual.tpl without the trade history.

 
Michael Charles Schefe #:

read Williams response at #6 you can delete or create a new visual.tpl without the trade history.

Hi Michael, thank you for responding.
Yes, I did follow #6 but trade history still shows in visual mode strategy tester. Were you able to confirm if disabling trade history on strategy tester works?