Download MetaTrader 5
To add comments, please log in or register
Write articles, help other developers and make money
chrisr13
16
chrisr13 2014.02.17 14:56 

I hav an EA, part of which works when it comes across a manually drawn horizontal line, the issue I have is that these lines I redraw manually every week and when it comes to back testing I can't seem to get the lines to work in strategy tester. What I do, do is save the chart with the horizontal lines as tester.tpl and then run a test, you can see the lines when in visual mode but as soon as the test is complete the lines disappear and it looks as though the EA is not reacting to the lines at all.

Can anyone assist please

Regards

Chris

whroeder1
13627
whroeder1 2014.02.17 16:20  
chrisr13: as soon as the test is complete the lines disappear
Does your EA or any called indicator have a call to https://docs.mql4.com/objects/objectsdeleteall
chrisr13
16
chrisr13 2014.03.25 05:51  
WHRoeder:
Does your EA or any called indicator have a call to https://docs.mql4.com/objects/objectsdeleteall



Hi There

Yes, I thought this was an issue with the EA or strategy tester, but when I discussed this with my programmer, he did say he had included something like you said above that deleted the lines at the end. He has now taken out that command and the Lines remain at the end of the test which allows me to visually review

Many Thanks for the assistance

/
To add comments, please log in or register