支持中心 帮助文档 联系我们
📱 微信: 18391752892 | 💬 QQ: 3313198376 | ✈️ Telegram | 📧 fishfx123@gmail.com
EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34% EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34%

Test Trade Saver Script

👤 作者: Semen Racheev

4.5 分

¥0.00

📌 版本: v1.2
📥 下载: 0
⭐ 评分: 4.5

📝 产品详情

Test Trade Saver Script

作者Semen Racheev
版本v1.2
更新6 十二月 2024
激活数5

Test Trade Saver Script

Application Type: Script
Application Functions: Saves test results cache file data into text files

    About the Application

    The script extracts trading results from a test system cache file and saves them into text files for further analysis.

    How to Use

    Parameters:
    • LOG_LEVEL - Logging level in the Experts terminal section. DEBUG provides the most detailed information, while ERROR gives the minimum.
    • CUSTOM_MAGIC_NUMBER - The system identifier (Magic Number) used to save results into the file.
    • TST_DIRECTORY_PATH - Path to the directory or link containing test result files (*.tst), relative to <Data folder>/MQL5/Files/ , where test results will be loaded from.
    • TRADE_FILES_PATH - Path to the directory for saving trade result files, relative to <Data folder>/MQL5/Files/ . The file with results will be saved here.

    to the folder

    <Data folder>/Tester/cache

    This allows direct interaction with test cache files without prior copying.
    For this:

    Open the directory
    <Data folder>\MQL5\Files
    and copy its full path
    Open the command prompt as Administrator (Start → cmd → Run as Administrator).
    In the command prompt, navigate to the directory:

    cd <path from step 1>
    Create the symbolic link with the command:

    mklink /D cache ..\..\Tester\cache

      As a result, a symbolic link to the folder

      <Data folder>/Tester/cache

      will appear in

      <Data folder>\MQL5\Files

       You can now directly work with  *.tst  test cache files inside MQL5 programs without prior copying.

      Run the script, select the test results file (*.tst).

      Algorithm

      Open the specified test results cache file (*.tst).
        Extract the list of closed positions from the test results.
          Save the list of closed positions with CUSTOM_MAGIC_NUMBER into the directory TRADE_FILES_PATH ( relative to <Data folder>/MQL5/Files/)  to the file named <MAGIC>.csv
          in the format <MAGIC>,<POSITION_CLOSE_TIME>,<LOTS>,<RESULT_$>

            Links and Dependencies

            The script uses the library https://www.mql5.com/ru/code/27611 authored by fxsaber


              安全须知

              本产品仅通过 MQL5.com 官方渠道获取。其他渠道版本可能缺少完整功能和技术支持。

              EA 配置

              交易品种XAUUSD
              时间框架H1 (推荐)
              推荐经纪商IC Markets, IC Trading
              最低存款$300 / 0.01手

              📸 截图预览