📝 产品详情
Test Trade Saver Script
| 作者 | Semen Racheev |
| 版本 | v1.2 |
| 更新 | 6 十二月 2024 |
| 激活数 | 5 |
Test Trade Saver Script
Application Type: ScriptApplication 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:
<Data folder>\MQL5\Files
and copy its full pathOpen the command prompt as Administrator (Start → cmd → Run as Administrator).
In the command prompt, navigate to the directory:
cd <path from step 1>
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).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手 |
📸 截图预览