Importing data
You can import historical data into Forex Tester using Data Center. Here you can import these data from our data server or from a file. We provide free historical data on our site from 01/01/2001 to the current moment. (www.forextester.com/data/datasources.html). And we recommend you to use this source of data as one of the best and qualitative sources. Also you have the opportunity to use other sources that can provide data in a text format or import history from MetaTrader (we can not recommend it because it may have gaps in history).
It is highly recommended to use 1 minute timeframe to import into Forex Tester, it will be used to recalculate all higher timeframes. If you import, for example, 15 minutes bars, timeframes lower than 15 minutes will be incorrect.
Import of history is enabled in History Mode only. In order to access Data Center, please click on this button:
Or use this menu item:You can use our Data Center in order to import historical data from our server or from a file.
Importing history from data serverTo import history from the data server, you need to select the symbol first and press the "Update from server" button. You can define the Broker and Shift time values first for this symbol. You need to do this only once, these values will be saved for the next imports. When you import from our data server, it will use these values to import quotes from the selected broker and with the selected shift time (the server uses GMT time internally, you can select different shift value to adjust data to your time zone). Note, that the list of available brokers can vary depending on the service type. Free service, which is included into the price of Forex Tester allows you to import historical data only from one broker - Forexite. If you want to import data from different brokers, you can sign for the Standard or VIP service (more info).
After pressing on the "Update from server" button, the following dialog will appear:
In this dialog you can see information about the broker in the Info box. It contains the infromation about the broker and symbol, available data range and the type of data to download. Data server provides 2 types of history - 1 minute history and tick history (which consists of real ticks and gives the best quality of testing). Tick history is available only for VIP service subscribers.
In the "Date range" box you can define what part of history you want to download. If you select the "Download new history" option, then you will get the part of history from the last update. For example, if you have already downloaded history up to 01/01/2010, and it is 10/01/2010 then the program will download the part of history from 01/01/2010 to 10/01/2010 and merge it with the previously imported history. This method is very useful to update your history time by time, so you always have up to date historical data. If you have an empty history (or cleared history before import) - it will download all available history for this symbol.
If you select the "Download part of history" option, then you will get the history for the requested period of time, this history will be correctly merged with the previously imported historical data.
In the "Select data to download" box you can define the type of data to download. You can download only 1-minute history, only tick history or both of them. Note, that tick history is available only for VIP service subscribers.
Click the "Update" button to start downloading:
Note: if you have requested a large amount of historical data, the server will need some time to prepare it.
Importing history from a fileIn order to import historical data from a file please click the "Import from a file" button.In the opened dialog window click the "..." button and select a file with historical data. File type can be in ASCII format *.txt *.csv or MetaTrader 4 format *.hst. In order to download the files with the latest historical data please follow this link: www.forextester.com/datasources.html
At our website, at the "Data Sources" section, we provide historical data in 1-minute format from January 2001 to the current moment. We update these files every month.Click on the currency pair you want to download and save it to some folder on your computer (for example, the "Downloads" folder).The downloading has been completed. But you downloaded *.zip file (compressed file). Open the folder where you saved the file ( the "Downloads" folder in our example), right click on it and select "Extract all" from the menu.
Let's return to our the "Import history data" window in the program. Click the button at the white square:Find your unzipped file and click "Open":If you import data from our site, the program will find a correct symbol, if not - select the currency by yourself. The shift time value is copied from currency settings and we do not recommend you to change it here. You can check the checkbox to clear all previously imported data to replace them with the new history. Click the "Next" button:Look through the properties. If you download a file from our site, then you do not need to change anything. If you get it from another data source, then, probably, you will need to adjust some columns and data time style. Click "Import":
Data import can last from a couple of seconds to a couple of minutes, please be patient.After importing has been completed click "OK" and close the Data Center window.Check your imported data.New imported data will be correctly merged with the previously imported data. So, if you have already imported 8 years of history and import new data for the last month, it will be merged with the existed data. Even if you import some new data that is overlapped with the old data, the part of all data will be deleted and replaced with the new one.
------------------------------------------------------------------------------------------------------------------
Generating ticks
Before starting a new test, you need to prepare data for it. In History Mode you can see all history for imported symbols and all time periods. Most of these data are redundant for testing, as usual only 1 or 2 currency pairs are rather sufficient for testing; also you can test not the whole period of historical data, but the most specific one (for example, during the year). It can increase the testing speed and remove unnecessary currency symbols.
History Mode stores data as 1-minute bars (a lot of data sources provide history in such a format). But to prepare data for Testing Mode we need to convert these 1-minute bars into ticks – the set of moment price development inside 1-minute bar. You can use 2 variants of price movement simulation.
Note: You can use real historical tick data (it is available for the subscribers of VIP data service). Please see more information here.
Ticks can be generated in History Mode only. In order to open the Generate ticks window, click Tools-> Data center:
Check all necessary currency pairs and click the “Generate Ticks� button:The following window will be opened:
In this window you should select the period of time, check necessary currency symbols, which you plan to test (it is possible to test more than one currency symbol simultaneously), also you need to choose a generation method. Two methods of generation are available: Generate randomly by real volume – it means the number of ticks inside 1-minute-bar will be equal to volume, ticks will be distributed randomly inside one bar; Generate by Open/High/Low/Close – each bar will contain 4 (or less) ticks, which correspond to Open/ High/ Low/ Close value of the given bar (less than 4 ticks are possible in the situation when Open=High, or Low=Close). We recommend using the last method of ticks’ generation, as it is the fastest and gives a good testing quality.
Check “Use imported tick history� if you have access to tick data and they are downloaded into the program (all details are here). This will increase the testing quality, specially for scalping strategies.
The results of generating ticks by different methods:1. Ticks generated randomly by real volume. As a result you get lots of ticks, which are randomly distributed inside each 1 minute bar, and their number will be equal to the volume of this bar. This method may slow down the testing, but if your strategy uses volume information, it can be useful.
2. Ticks generated by Open/High/Low/Close. You will get fewer ticks compare to the previous method, but all of them are important (open/high/low/close of every 1 minute bar). It is a fast and sufficiently good method for most of the cases, and we recommend you to use it.
Note 1: If you have access to the real tick data and they are downloaded into the program, then this information will be used instead of simulation when you generate ticks. In case when tick data are not available for some bar - ticks will be simulated using the selected method.
Note 2: All methods of ticks’ generation will produce absolutely the same bars in Testing Mode; the difference between them is only in the price movement inside 1-minute bars.
Foro de Forex Trading United