Backtests not working with MT4 build 625
Backtests not working with MT4 build 625
I've upgraded my MT4 build to 625, then downloaded the historical data via Tickstory but no backtests run. I only get such messages in the MT4 journal:
2014.04.05 17:47:30.149 TestGenerator: actual tick file "C:\Users\oleh86\AppData\Roaming\MetaQuotes\Terminal\CBC1E074A032EF0E6A1328D19FB1736E\tester\history\EURUSD5_0.fxt" found
2014.04.05 17:47:30.205 EURUSD,M5: 7659 tick events (228560 bars, 228560 bar states) processed within 31 ms (total time 46 ms)
What's wrong?
2014.04.05 17:47:30.149 TestGenerator: actual tick file "C:\Users\oleh86\AppData\Roaming\MetaQuotes\Terminal\CBC1E074A032EF0E6A1328D19FB1736E\tester\history\EURUSD5_0.fxt" found
2014.04.05 17:47:30.205 EURUSD,M5: 7659 tick events (228560 bars, 228560 bar states) processed within 31 ms (total time 46 ms)
What's wrong?
Re: Backtests not working with MT4 build 625
Hi Render86,
According to the log information you posted, MT4 seems to be processing the tick data information. Have you tried to use a "standard" EA such as the "MACD Sample" to ensure that this isn't specific to your particular EA? Alternatively, you can crete a new EA with one line of code like:
And verify if the Journal reports the Bid price during the back-test.
Regards.
According to the log information you posted, MT4 seems to be processing the tick data information. Have you tried to use a "standard" EA such as the "MACD Sample" to ensure that this isn't specific to your particular EA? Alternatively, you can crete a new EA with one line of code like:
Code: Select all
Print("Bid: " + DoubleToStr(Bid));Regards.
Re: Backtests not working with MT4 build 625
Tickstory does not remember the new history folder path after upgrade. That's the reason.tickstory wrote:Hi Render86,
According to the log information you posted, MT4 seems to be processing the tick data information. Have you tried to use a "standard" EA such as the "MACD Sample" to ensure that this isn't specific to your particular EA? Alternatively, you can crete a new EA with one line of code like:
And verify if the Journal reports the Bid price during the back-test.Code: Select all
Print("Bid: " + DoubleToStr(Bid));
Regards.
Re: Backtests not working with MT4 build 625
Hi Render86,
Are you referring to the MT4 setting for "Data folder"? We tried reproducing your issue by upgrading and this setting was correctly preserved.
Regards.
Are you referring to the MT4 setting for "Data folder"? We tried reproducing your issue by upgrading and this setting was correctly preserved.
Regards.
-
gpipsforever
- Posts: 3
- Joined: Sat Apr 12, 2014 8:42 am
Re: Backtests not working with MT4 build 625
Hi,
I have the following problem:
I use MT4 with /portable mode on a secondary HDD (Drive E).
When I start my freshly installed terminals -build 625 - with Tickstory the first time my MT4s are not starting. If I start it again, it opens the MT4 platform but during the first start it automatically recreated the "Data Folder" on the system drive again (Drive C) ???, what I already deleted and then the strategy tester tries to open the .fxt file in this folder which is obviously not there. I can see that in Tickstory in the Settings\MT4 settings\MT4 Data Folder the path (Drive E) is changed automatically to the newly created path (Drive C). If I change back to the original location the circle starts again.
On build 509 everything is ok in /portable mode.
I read your forum, but I couldn't find the solution to this problem.
Can you solve this?
Thanks.
I have the following problem:
I use MT4 with /portable mode on a secondary HDD (Drive E).
When I start my freshly installed terminals -build 625 - with Tickstory the first time my MT4s are not starting. If I start it again, it opens the MT4 platform but during the first start it automatically recreated the "Data Folder" on the system drive again (Drive C) ???, what I already deleted and then the strategy tester tries to open the .fxt file in this folder which is obviously not there. I can see that in Tickstory in the Settings\MT4 settings\MT4 Data Folder the path (Drive E) is changed automatically to the newly created path (Drive C). If I change back to the original location the circle starts again.
On build 509 everything is ok in /portable mode.
I read your forum, but I couldn't find the solution to this problem.
Can you solve this?
Thanks.
Re: Backtests not working with MT4 build 625
Hi Gpipsforever,
Could you kindly elaborate on "MT4 not starting"? Are you getting an error of some sort?
Also, could you kindly try executing the following command to see if it is MT4 that is reverting your data folder back to the C: drive:
You can check what the current data folder is in MT4 by going to the File->Open Data Folder option.
Thanks.
Could you kindly elaborate on "MT4 not starting"? Are you getting an error of some sort?
Also, could you kindly try executing the following command to see if it is MT4 that is reverting your data folder back to the C: drive:
Code: Select all
terminal.exe /portableThanks.
-
gpipsforever
- Posts: 3
- Joined: Sat Apr 12, 2014 8:42 am
Re: Backtests not working with MT4 build 625
Hello,
I did my tests again:
- Installed a new Mt4 to Drive E
- Started in /portable mode -> The DataFolder migrated to Drive E
- then I started it with tickstory -> The DataFolder changed back to Drive C
- I started it several times in /potable mode, -> the DataFolder was on Drive E again
- I started it with tickstory again -> the DataFolder was on Drive C
- I delete everything from the 2 webinstall folders (Programdata & Users) and I deleted the DataFolder on Drive C
- I restarted the terminal with tickstory -> The DataFolder is migrated again to Drive C
So it seems when I normally start the terminal with /portable mode the DataFolder is always on Drive E, but with tickstory it's always changing back to Drive C.
I attached the two log files from the 2 DataFolders.
I hope it helps to solve this issue.
Thanks.
Ps: Is it working for you in /portable mode as it should?
I did my tests again:
- Installed a new Mt4 to Drive E
- Started in /portable mode -> The DataFolder migrated to Drive E
- then I started it with tickstory -> The DataFolder changed back to Drive C
- I started it several times in /potable mode, -> the DataFolder was on Drive E again
- I started it with tickstory again -> the DataFolder was on Drive C
- I delete everything from the 2 webinstall folders (Programdata & Users) and I deleted the DataFolder on Drive C
- I restarted the terminal with tickstory -> The DataFolder is migrated again to Drive C
So it seems when I normally start the terminal with /portable mode the DataFolder is always on Drive E, but with tickstory it's always changing back to Drive C.
I attached the two log files from the 2 DataFolders.
I hope it helps to solve this issue.
Thanks.
Ps: Is it working for you in /portable mode as it should?
-
gpipsforever
- Posts: 3
- Joined: Sat Apr 12, 2014 8:42 am
Re: Backtests not working with MT4 build 625
Hello,
I think I found the solution:
With this I can see the right DataFolder after the start up with tickstory too.
Thanks.
I think I found the solution:
With this I can see the right DataFolder after the start up with tickstory too.
Thanks.
Re: Backtests not working with MT4 build 625
Hi gpipsforever,
Thanks for getting back. Yes, that is correct - if you wish to launch MT4 in portable mode via the Tickstory launcher you need to provide the appropriate command-line argument (i.e. /portable).
Regards.
Thanks for getting back. Yes, that is correct - if you wish to launch MT4 in portable mode via the Tickstory launcher you need to provide the appropriate command-line argument (i.e. /portable).
Regards.
