Results 1 to 10 of 16
Like Tree4Likes

All about Script(s) for MT4 and MT5

This is a discussion on All about Script(s) for MT4 and MT5 within the Trading tools forums, part of the Trading Forum category; Convert real tick data in FXT-file strategy tester fxtfilemaker_script_ad When checking the efficiency experts in the strategy tester MetaTrader 4 ...

      
   

Threaded View

Tsar All about Script(s) for MT4... 07-19-2015, 12:06 AM
Tsar Equivolume and range-bars in... 07-19-2015, 01:05 AM
newdigital Vav_OpenOrder_Manually -... 01-19-2016, 09:24 AM
newdigital 1 Click To Close All Open... 03-10-2016, 05:29 AM
Eris Hi, Is there a script... 10-24-2017, 07:08 AM
newdigital I found 3 scripts: Open... 10-24-2017, 07:44 AM
Eris Thank you 10-24-2017, 08:59 AM
mql5 Interesting scripts were... 12-04-2017, 09:51 AM
newdigital Multiple OP script -... 08-09-2018, 03:34 PM
newdigital fon... 01-31-2019, 06:14 AM
Eris Hi, Is there a script or an... 04-01-2019, 03:42 PM
mql5 Limit orders Pro 06-21-2019, 05:20 AM
mql5 Close Positions Current Symbol 02-13-2020, 06:23 AM
mql5 Grid 08-20-2020, 09:18 AM
mql5 Group transfer Stop loss 06-01-2022, 05:48 AM
mql5 Price Action Toolkit... 03-21-2025, 05:51 PM
  1. #1
    Member Tsar's Avatar
    Join Date
    Mar 2013
    Posts
    99

    All about Script(s) for MT4 and MT5

    Convert real tick data in FXT-file strategy tester


    fxtfilemaker_script_ad

    When checking the efficiency experts in the strategy tester MetaTrader 4 the most scrupulous traders are faced with limited accuracy of the testing process. This is due to the restriction that the detailed history of quotes stored in the terminal as a minute candles. In turn, each minute candle presented only four values ​​(prices of opening, closing, maximum and minimum).

    In many cases, it's enough to play real events, which makes the tester, simulating the behavior of prices within a minute candles. But for those cases when it comes to restoring events during important news announcements, modeling is powerless, and help restore the real event can only detailed tick history.

    The script converts the file format of tick history TKS file FXT, substituting the resulting file to the strategy tester. The program uses a symbol and chart period, to which is attached as a parameter to create the file appropriate symbol and timeframe.

    Date of commencement and completion of the test specified in the first two parameters of the script. The third parameter is used to specify the size of the pre-history (minimum 1, maximum - the entire history available on the chart symbol), paged before testing. The fourth option - spread in points. This value will be used to start the testing process, and not something that is set in the tester.

    When running the strategy tester must select the same symbol and timeframe that was used to run the script, model testing, "Every tick" and a date range that is at least slightly overlaps with the interval dates specified in the script.

    File TKS (data about ticks) must contain a sequential write the following:

    Code:
     struct TickStruct   
    {    
    datetime time; // Date / time of arrival of teak
    double bid; // Bid Price tick    
    double ask; // Ask Price tick 
    };
    Attached Files Attached Files
    Last edited by Tsar; 07-19-2015 at 11:59 AM.
    mecman likes this.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •