You don't have to install a new MT5 for each account for back-testing or collecting tick data. Just log onto a different account and download the tick-data or run the back-tests. Each trade server's data is kept in a different directory.
Yep, that's how I did on the new MT5. But the old was (and still is) behaving in a weird way, it had no ICMarketsSC-MT5-2 folder even though it was connected to ICMarketsSC-MT5-2. Ticks also aren't saved there. That's why I installed a new MT5.The "File->Open Data Folder" is finding the right folder (I know it because it contains the EA I started developing while connected to ICMarketsSC-MT5 (for which there folder exists). But there is no ICMarketsSC-MT5-2 folder. Weird things... but not so important.
Ok, understood! Also note, that the ticks and history data for the Strategy Tester are repeated again in the tester's subfolders. So you end up with double the space occupied by history and tick data.
Even if there is tick data I look to trade on the close the 5 minute and above bars so I was looking to try to considerably reduce testing time by using 1 minute OHLC data. I’m guessing that using real ticks would considerably slow the testing down, especially any optimisation?
I have successfully downloaded 1 minute data from tickstory and imported into MT5. Everything looks OK for forex but the spread for the GBR.IDX (FTSE) is incorrect. It seems the data from Dukascopy is three digits rather than 1 that my broker uses. When I export with MT5 bar format the spread is converted to an integer and because of the # digit difference is a factor of 100 too high. Is there an easy solution to this or am I going to have to write my own conversion code?
The values exported from TickStory seem correct to me (I used default generic bar format export):
I'm trying to import 1 minute bars using the MT5 facility:
I've selected the Metatrader 5 Bar Format (but included the header for display purposes here)
This gives the following output. As you can see the spread (last value) is in the thousands which must be because the data is 3 digits rather than 1 that I have.
I'm presuming that this will affect the entry and exit prices greatly?
Yes, it will, but it can easily be resolved without needing to change the CSV file.
When creating the Custom Symbol, you can just set the tick size and point size to "0.001" instead of "0.1". Then importing the data it will no longer pose a problem.
As long as your EA properly calculates things using the tick size and tick value, then there will be no problem with your EA using this data.
EDIT: Also, make sure your Tick Value is in accordance with the new Tick Size as well, in the Custom Symbol's specifications.
Thankyou for this. I was fiddling around with digits but had no luck.
So for completeness I should have:
digits = 3
tick value = 0.001
tick size = 0.01 x current tick size?
Digits = 3
Tick Size = 0.001
Tick Value = £0.001 (when using GBP deposit currency). You will have to change this value for other deposit currencies.
Thanks very much for the help. I will try it out tomorrow.
Hmm, didn't pay attention to it till now. Do you mean it downloads data into both <DataFolder>/bases/<ServerName>/ and <DataFolder>/Tester/ subfolders?I tested it now and there are no ticks/history downloaded into <DataFolder>/Tester/ subfolders. MT5 writes for me ticks/history only in the <DataFolder>/bases/<ServerName>/ subfolders.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.