FXProSystems
Back

How to get 99.0% Modeling Quality in MetaTrader4. Free method

Published: 03.04.2019
Reading time: 24 minutes
14
19919
how-to-get-99-modelling-quality

We all know that the modeling quality for testing Expert Advisors (especially scalpers and pipsters) plays a big role. By default, in MetaTrader 4, it is still not possible to achieve modeling quality above 90%. Very often this is not enough for accurate testing. So how to get 99.0% modeling quality in MetaTrader4?

Today, there is a better and faster way to get 99.9% quality of simulation in the strategy tester ➜ Read More

The whole procedure will consist of 10 steps. So, let's begin. Follow the instructions step by step and arrive with you 99% modeling quality:

STEP 1. We will first need the Metatrader 4. I recommend for testing to establish a separate terminal from the company Roboforex, because there is the possibility of opening ECN-demo account. Thus, you do not have to open a real account to enjoy all the delights of an ECN account:

ecn-demo-accaunt

STEP 2. Download and install the History Data Downloader program from the official website:

history-data-downloader

For our purposes, the free version of this program is suitable. No need to buy a Pro version!!!

quant-data-manager-free-version

Step 3. Download the CSV2FXT script here Free Download CSV2FXT_fix script or at the bottom of the article and install it into your MetaTrader4.

Today, there is a better and faster way to get 99.9% quality of simulation in the strategy tester ➜ Read More

Step 4. After installing StrategyQuant Tick Data Downloader, we will make the necessary settings in the program.

Click "Configure" and select timezone and "Automatic export to CSV" as shown in the screenshot:

strategyquant-tick-data-downloader-configyre

The program creates two files. One without time shift. The other is with the shift that is specified in “Change timezone”. For testing, it is more convenient for us to use a tick data file without a time shift. Therefore, the timezone can be left as default, unchanged.

STEP 5. Now set the date range you want as shown below:

tick-data-downloader-set-date-range

Step 6. Now you need to specify a folder for saving tick data. Click the "Settings" button and select the folder where the quotes will be downloaded:

How to get 99.0% Modeling Quality in MetaTrader4. Free method

Now you can click "Start download", and tick data download process will begin. This can take a long time, especially if the range is set at several years.

After the download is complete, we’ll get two files USDJPY_tick.csv and USDJPY_UTC+0_00.csv. To save disk space on your computer, you can delete USDJPY_UTC+0_00.csv. It is not needed. For convenience, rename the USDJPY_tick.csv file to USDJPY.csv.

Step 7. Copy the received USDJPY.csv file to your MetaTrader 4 in the folder MQL4/Files. And restart MT4.

Today, there is a better and faster way to get 99.9% quality of simulation in the strategy tester ➜ Read More

Step 8. Open the chart of the currency pair you need (in our example USDJPY) and set the desired timeframe. Now you can run the CSV2FXT script, just drag it to the chart:

script-csv2fxt-drag-to-chart

STEP 9. The CSV2FXT script has many settings. But we will be interested only in:

CSV filename – here you need to specify the name of the tick data file, in our case it is USDJPY.csv. For the pair EURUSD can be left blank.

script-csv2fxt-settings

Create HST – only “true”. The script will generate tick data clear for the terminal in .hst format. In the strategy tester, they are converted to a file with the .fxt extension. This will be the data we need to get backtests with a 99% modeling quality.

All spreads and comissions in pips – total spreads and commissions in pips, for our purposes, you can leave the value "zero".

Spread  – spread, for our purposes, you can leave the value "zero".

Start date/End date – the beginning and end of the date of converting ticks. If you do not set these values, the script simply converts all the data that is in the specified file.

Use real (variable spread) – use real spread. In our case, we will set the spread directly in the strategy tester, so we set "false".

The remaining settings are of no significance for our purposes. Therefore, you can leave the default.

Click “OK”.

The script will start converting tick data from the .csv format to the .hst format that is understandable for MT4. It also takes a lot of time:

script-started-to-convert

STEP 10. Upon completion of the script, restart the terminal. And you can proceed directly to the backtests.

I have tried this method repeatedly on many EAs that you can find in this category. You can see there charts with the number 99%:

modelling-quality-99

As you can see this method is absolutely free. But it has one drawback - it’s a lot of time to load and convert tick data. Especially if you need data for several years. Next time I will tell you how you can get 99.9% modeling quality in a faster way.

Follow us and do not miss any news:

Enter your email address:

In the archive csv2fxt_v0.50_fix.rar:

  • FXTHeader.mq5
  • CsvReader.dll
  • CSV2FXT.ex4
  • CSV2FXT.mq4

Free Download CSV2FXT script

Today, there is a better and faster way to get 99.9% quality of simulation in the strategy tester ➜ Read More

Author:
Daniel
Share
Related Post
Comments:
  • litong
    Published: 06.04.2019 Reply to the message

    I followed this process, but there was no% number, and the script didn't start. what was the problem?

  • axel
    Published: 06.04.2019 Reply to the message

    Hello Daniel , the version of Quant Manager is Old ? can u send me this version ?

    • Daniel
      Published: 07.04.2019 Reply to the message

      No. Version is still current.
      Click on the blue button:

      quantdatamanager

      Then enter your name and email:

      quantdatamanager-mail

      And download the installation file by clicking on the green button:

      quantdatamanager-green-buttom

  • MICHAEL K
    Published: 20.07.2019 Reply to the message

    Is the EA from the demonstration available?

  • Alberto
    Published: 22.08.2019 Reply to the message

    Hello there my friend, thanks for the article. The current version of quantdatamanager (the tick downloader) already have an "export to MT4" feature, it exports .fxt and .hst. Ok, since MT4 can´t handle files over 4GB, I generated 5m timeframe data from 2003.05.05 to 2008.05.05, which is almost 4GB. Ok, I can see the data are in the right places, but when I use the strategy tester it is not using the data I provided, it is downloading from somewhere. I am using FXBlue trading simulaor (which is an expert advisor), you enable visual mode and then you can backtest "trading" and controlling the speed. Can you help me sort this out?

  • Alberto
    Published: 23.08.2019 Reply to the message

    I followed all instructions and can still not get modelling quality better than 89.9%

  • Andre
    Published: 27.09.2019 Reply to the message

    Hi my friend. I followed the instructions and at the end I got "n/a" quality for the backtest instead 99%. Do you know what could be happening? Thank you for this web page. Pretty good.

  • Baz
    Published: 16.11.2019 Reply to the message

    Hi Daniel, thanks for this article. I'm not sure exactly what I'm doing wrong but the "QuantDataManager" I'm downloading as the first step looks nothing like what you're showing. There's no configure or settings button at all. I just downloaded the latest version. Any help would be appreciated.

  • Dim
    Published: 23.08.2020 Reply to the message

    Instead Step 2 i have used Tickstory data. Best free way to get 99% modelling quality for any minute at any year. Thanks for script!

  • Chan
    Published: 22.01.2021 Reply to the message

    It worked! Thanks a lot! I did it on EURUSD from 2011 until January 2021. It's good. Thanks again!

  • Shamil Karimli
    Published: 28.05.2022 Reply to the message

    I want to ask you a question about tick data in general. I tried to get 100% accurate tick data many times, to run real time on my account, but wherever I download tick data downloader they always give me a history base error and EAs don't run on those charts as they do in strategy tester. How can it be fixed ?

    • Daniel
      Published: 28.05.2022 Reply to the message

      Only this method works ➔ Tick Data Suite 2

  • Vikram
    Published: 14.10.2023 Reply to the message

    Sir, What format date&time in csv2fxt file ?
    It getting error bad csv format

Name
Please enter your last name and first name
E-mail
No spam, we promise
Message text
By submitting this form, you agree to the political confidentiality and rules of our site.