Page 1 of 1
Backtesting take very very long and there is "OrderModify er
Posted: Tue Jun 26, 2018 12:52 pm
by thomas2004ch
Hi TickStory,
I made a backtesting first for the period from 2017.06.01 to 2018.06.15. It takes not long. Later I made the backtesting again but this time I use the period from 2015.06.01 to 2018.06.15. But this time it takes very very long and I get errors in the Journal "OrderModify errror 1". And I notice it takes very long pause to continue writting logs into the Journal. And when I click the Stop, it will also take very long to stop it.
When I use the "Control points ..." or the "Open prices..." model, it is very fast and there is no any error.
Now I try backtesting it for a very short period from 2018.05.01. to 2018.06.15. It will take very long as well. There must be something wrong.
What could be the problem?
Re: Backtesting take very very long and there is "OrderModif
Posted: Wed Jun 27, 2018 2:00 am
by tickstory
Hi Thomas,
You might want to try some additional trouble-shooting such as trying a different EA and/or putting some debugging code in your EA. Usually if there are a lot of "print" statements in the EA is will take the Journal log some time to catch up.
Regards.
Re: Backtesting take very very long and there is "OrderModif
Posted: Wed Jun 27, 2018 5:29 am
by thomas2004ch
Hi TickStory,
I've changed to use the other EA such as the default EA "Moving Average" and start the backtesting again. And it is the same, i.e. take very very long to start.
Re: Backtesting take very very long and there is "OrderModif
Posted: Wed Jun 27, 2018 6:35 am
by thomas2004ch
Now I figured out something as follow:
As I start the backtesting (for EURUSD 15 min chart), I see a warning in the Journal: The '..\MyMetaTrader\tester\history\EURUSD15_0.fxt' is read only. So I delete this file and start the backtesting again. Now it runs much faster. But I see the 'Modelling quality' is just 90.00%.
Why?
Re: Backtesting take very very long and there is "OrderModif
Posted: Wed Jun 27, 2018 8:18 am
by thomas2004ch
What the backtesting takes "very long" means, during the backtesting, it the backtesting prozess will take quite often a very long pause or sleep and will not go further.
Re: Backtesting take very very long and there is "OrderModif
Posted: Wed Jun 27, 2018 10:50 pm
by tickstory
Hi Thomasch2004, The file you deleted was the tick data file and you are therefore now testing with 1-minute data. Using 1-minute data will always be faster as there is significantly less data to process. You results won't be as accurate though.
Regards.
Re: Backtesting take very very long and there is "OrderModif
Posted: Thu Jun 28, 2018 9:22 am
by thomas2004ch
Hi TickStory,
I've deinstalled my MT4 and deleted the exported data from TickStory and re-installed the MT4 and export the data from TickStory again. But nothing is better. I understand the importance of the *0.fxt files. But the problem is, why it take so long to do the backtesting with Model "Every ticvk..."? And I notice this jsut happen by EURUSD. By DAX there is no such a problem.
Cheers
Re: Backtesting take very very long and there is "OrderModif
Posted: Thu Jun 28, 2018 11:30 pm
by tickstory
Hi Thomas,
The EURUSD has a lot more ticks than the DAX and this will play a factor. As mentioned, you will need to put the relevant debugging code in your EA if you need further details.
P.S. Could you kindly respond to the PM we have sent you?
Thanks.