Mon compte
Déjà membre ? S'identifier
Non inscrit ? S'inscrire
 
+ Répondre à la discussion
Page 1 sur 2 1 2 DernièreDernière
Affichage des résultats 1 à 10 sur 11
  1. #1
    Membre Performance secatrix est très intéressant
    Date d'inscription
    July 2008
    Localisation
    Bordeaux
    Messages
    194
    Pouvoir de réputation
    0

    99% modeling quality when backtesting with MT4 build 225 99% modeling quality when backtesting with MT4 build 225

    As the title says, I prepared a set of tools that enable testing with 99% modeling quality. I also downloaded and processed the tick data from Dukascopy, but uploading the CSV files is quite a pain in the ass so, for now, I'm only uploading the EURUSD tick package (it's about 400 MB compressed, ~4.5GB uncompressed). I'll upload other currency pairs if there's enough interest.

    If you only want the scripts and the loader, get them here:
    Code:
    Download - 99_percent_MT4_build225_backtesting.zip - Sharebee.com, the one and only online file hosting distribution service.

    If you also want CSV data:
    Code:
    EURUSD data (multipart rar archive, ~100 MB each)

    Download - EURUSD-tick-data-MT4-backtesting.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - EURUSD-tick-data-MT4-backtesting.r00 - Sharebee.com, the one and only online file hosting distribution service.
    Download - EURUSD-tick-data-MT4-backtesting.r01 - Sharebee.com, the one and only online file hosting distribution service.
    Download - EURUSD-tick-data-MT4-backtesting.r02 - Sharebee.com, the one and only online file hosting distribution service.


    Pasting the howto here for reference.

    How to get 99% modeling quality when backtesting with metatrader 4 build 225
    ================================================== ==========================

    Here are the steps you must perform:
    1. Get some good tick data.
    2. Convert the tick data into HST & FXT.
    3. Copy the HST & FXT files in the correct folders.
    4. Run MT4 with a loader to allow loading your custom FXT file, then start
    backtesting.

    I'll describe each step in detail.

    1. When it comes to the tick data, you shouldn't have a big problem. Luckily for you, I downloaded all the Dukascopy tick data, parsed it and saved it as a CSV that you most likely found in the same archive as this file. Should you want to update the CSV data, you will find the scripts to do it in the "optional tools\php\Dukascopy tick data" folder. If you want to play with the Gain Capital tick data (really bad quality), I also supplied some tools to help you with that. I'm afraid that I won't offer any instructions on running the scripts besides the fact that you must have PHP installed to run them. All the PHP scripts provided are meant to be run in command line (e.g. putting them on a webserver won't do much).

    2. Here's what you must do to convert the above CSV data to HST & FXT:
    - copy the files from the "convert" folder into your MT4 folder;
    - move the tick data file (the CSV file) to experts\files;
    - open up a chart for the pair that you have data for (if you have EURUSD.csv you MUST open an EURUSD chart);
    - select the timeframe that you wish to generate the FXT for (if you want to backtest on H1, then select H1 as the chart timeframe);
    - make sure you are connected to the server, then attach the Dukascopy2FXT script to your chart;
    - in the parameters section set the ExtCsvFile to whatever your CSV filename is (e.g. EURUSD.csv; the file must be in the "experts\files" folder at this point) and if you didn't previously generate HST files for the pair, you have to set ExtCreateHst to true - this step only has to be performed once.
    - go get some coffee while the system processes, this will take a very long time even on high end PCs.

    For the masochists, some scripts are provided for use with Gain Capital tick data. You will not need these scripts unless you downloaded and parsed the Gain Capital tick data yourself with the scripts described at step 1 (which no sane person would have reason to do, given the availability of the much better Dukascopy tick data).

    3. After your script at 2. has finished running, you will end up with a lot of files in your "experts\files" folder. At this point, exit the MT4 terminal then proceed to moving all .HST files from "experts\files" to "history\your_server_name". Pay very close attention if you have multiple server directories in your "history" folder - you will have to move them into the one that's correct for active account!
    Note: unless you modify the CSV, the HST files only need to be generated and moved once.
    After moving the HST files, move the generated FXT file from "experts\files" to "tester\history".

    4. To use the files you created in a backtest, you will have to use the FXT loader, found in the "loader" folder. Note: this loader works only on MT4 build 225. You just have to copy it into the folder of your MT4 client and instead of running terminal.exe, run "fxt loader.exe". If you're worried about running executables and you can do a manual patch, see the bottom of this file for the offsets and changes.
    What the loader does is disabling MT4's default behavior to regenerate the backtest files every time you start a new test - so, if a file is already there, a new one will not be generated. By placing the FXT file you generated with the script in the "tester\history" folder, you ensure that it's the file it is going to use for your backtest; of course, the selected backtest currency pair and timeframe must coincide with what you generated the FXT with.

    How to verify it worked? Easy, if your test is running and the file in tester\history was not recreated, it means everything is ok.

    Note: the GMT offset of the data appears to be 0 all around the year. Correct me if I'm wrong on this one.

    Bonus: if you can run PHP scripts, I also packed my script that merges backtest results, thus simulating running an EA on multiple pairs or possibly more than an EA at a time.

    All the PHP scripts and the loader were written by me (birt). Some MQL files were not originally written by me, but I modified them to work with the data & new MT4.
    Credits for these:
    - GainData2fxt.mq4, unknown author
    - FXTHeader.mqh, stringo@codebase.mql4.com
    Note: my Dukascopy2FXT.mq4 and GainData2hst.mq4 are based on the above two files.

    terminal.exe patch offsets (hex offset -> old byte -> new byte):
    1402FC -> EE -> 00
    1402FD -> 02 -> 00
    14041B -> 9D -> 00
    14041C -> 01 -> 00
    140521 -> 97 -> 00

  2. #2
    Membre Star vamm972 est actif et passionnant vamm972 est actif et passionnant Avatar de vamm972
    Date d'inscription
    November 2008
    Localisation
    quebec
    Messages
    1 435
    Pouvoir de réputation
    23

    secatrix a encore frappé

    merci à toi pour ces bases de données

  3. #3
    Membre Star djmanu est sur la route de la réputation...
    Date d'inscription
    June 2008
    Messages
    261
    Pouvoir de réputation
    6

    Merci, exactement ce que je cherchais (les tick-data dukascopy)
    Saurais-tu où je pourrais trouver des données dukascopy compilées pour d'autres paires notamment EURCHF ?
    Je peux les downloader moi même je sais mais avec un fichier par heure c'est un peu lourd de télécharger un an

  4. #4
    Membre Performance secatrix est très intéressant
    Date d'inscription
    July 2008
    Localisation
    Bordeaux
    Messages
    194
    Pouvoir de réputation
    0

    bon voici un BT avec un robot ici humanoid

    ]http://rapidshare.com/files/275262629/humanoid_backtest_difference.zip.html]RapidShare: 1-CLICK Web hosting - Easy Filehosting

    bien pour moi c tout vue il y a pas mal de robot qui vont tirer la gueule avec une modélisation a 99% ! sa change tout

    vais voir pour faire d'autre teste.
    Images attachées

  5. #5
    Membre Performance secatrix est très intéressant
    Date d'inscription
    July 2008
    Localisation
    Bordeaux
    Messages
    194
    Pouvoir de réputation
    0

    Citation Envoyé par djmanu Voir le message
    Merci, exactement ce que je cherchais (les tick-data dukascopy)
    Saurais-tu où je pourrais trouver des données dukascopy compilées pour d'autres paires notamment EURCHF ?
    Je peux les downloader moi même je sais mais avec un fichier par heure c'est un peu lourd de télécharger un an
    tu peut les faire toi même regarde dans cette mise a jour de la méthode:

    4shared.com - partage et stockage de fichiers en ligne - télécharger 99_percent_MT4_build225_backtesting.zip

  6. #6
    Membre Performance secatrix est très intéressant
    Date d'inscription
    July 2008
    Localisation
    Bordeaux
    Messages
    194
    Pouvoir de réputation
    0

    Citation Envoyé par secatrix Voir le message
    EURUSD:
    Download - EURUSD-tickdata-csv-dukascopy.part01.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - EURUSD-tickdata-csv-dukascopy.part02.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - EURUSD-tickdata-csv-dukascopy.part03.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - EURUSD-tickdata-csv-dukascopy.part04.rar - Sharebee.com, the one and only online file hosting distribution service.

    EURCHF:
    Download - EURCHF-tickdata-csv-dukascopy.part01.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - EURCHF-tickdata-csv-dukascopy.part02.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - EURCHF-tickdata-csv-dukascopy.part03.rar - Sharebee.com, the one and only online file hosting distribution service.

    EURGBP:
    Download - EURGBP-tickdata-csv-dukascopy.part01.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - EURGBP-tickdata-csv-dukascopy.part02.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - EURGBP-tickdata-csv-dukascopy.part03.rar - Sharebee.com, the one and only online file hosting distribution service.

    AUDNZD:
    Download - AUDNZD.rar - Sharebee.com, the one and only online file hosting distribution service.

    EURNOK:
    Download - EURNOK-tickdata-csv-dukascopy.rar - Sharebee.com, the one and only online file hosting distribution service.

    EURSEK:
    Download - EURSEK-tickdata-csv-dukascopy.rar - Sharebee.com, the one and only online file hosting distribution service.

    CADJPY:
    Download - CADJPY-tickdata-csv-dukascopy.part01.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - CADJPY-tickdata-csv-dukascopy.part02.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - CADJPY-tickdata-csv-dukascopy.part03.rar - Sharebee.com, the one and only online file hosting distribution service.

    GBPUSD:
    Download - GBPUSD-tickdata-csv-dukascopy.part01.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - GBPUSD-tickdata-csv-dukascopy.part02.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - GBPUSD-tickdata-csv-dukascopy.part03.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - GBPUSD-tickdata-csv-dukascopy.part04.rar - Sharebee.com, the one and only online file hosting distribution service.

    GBPCHF:
    Download - GBPCHF-tickdata-csv-dukascopy.part01.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - GBPCHF-tickdata-csv-dukascopy.part02.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - GBPCHF-tickdata-csv-dukascopy.part03.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - GBPCHF-tickdata-csv-dukascopy.part04.rar - Sharebee.com, the one and only online file hosting distribution service.

    AUDJPY:
    Download - AUDJPY-tickdata-csv-dukascopy.part01.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - AUDJPY-tickdata-csv-dukascopy.part02.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - AUDJPY-tickdata-csv-dukascopy.part03.rar - Sharebee.com, the one and only online file hosting distribution service.
    Download - AUDJPY-tickdata-csv-dukascopy.part04.rar - Sharebee.com, the one and only online file hosting distribution service.

  7. #7
    Membre Star djmanu est sur la route de la réputation...
    Date d'inscription
    June 2008
    Messages
    261
    Pouvoir de réputation
    6

    Merci secatrix, enfin des données tick meilleures que celles de capita gain
    J'ai pu regarder le script php de récupération des fichier, ca devrait pas etre trop de de le modifier
    Les données dukascopy sont en quelle timezone ? (On dirait de l'utc)

  8. #8
    Membre Star jeims est actif et passionnant jeims est actif et passionnant
    Date d'inscription
    July 2008
    Localisation
    France
    Messages
    646
    Pouvoir de réputation
    19

    Merci secatrix pour ce partage, mais je crois que je n'ai rien compris.
    Ce sont des données ticks pour effectuer des backtest obtenu auprès de dukascopy.
    cela permet une meilleure modélisation (99%) au lieu des 90% habituels ce qui rend les tests plus précis.
    pour la conversion je n'ai pas trop compris, mais j'essairai quand j'aurais du temps.
    cependant, cela ne marche qu'avec un compte dukascopy?
    thx!!

  9. #9

  10. #10
    Nouveau membre Mindsphere est sur la route de la réputation...
    Date d'inscription
    September 2009
    Messages
    1
    Pouvoir de réputation
    4

    Thanks so much for posting this up. Is there any chance you could also put up USDJPY, USDCHF & USDCAD data? Thanks again

Discussions similaires

  1. Bug potentiel Metatrader Build 218
    Par LarryMax dans le forum Utilisation des Plateformes de Trading
    Réponses: 0
    Dernier message: 01/09/2008, 07h16

Ajouter aux Favoris | Plan du site | Archives | Forex | Contact