EM 2 04:58:14.300 tExp_a_1.0 (EURUSD.m,M15) 2015.01.01 00:00:00 Access violation at 0x00007FFD08F4C3DF read to 0x000000000000C8890D70 in 'C:\Users\matAppData\Roaming\MetaQuotes\Tester\...\Agent-127.0.0.1-3000\MQL5\Libraries\libmysql.dll'
The article provides the results of testing a simple trading strategy in three modes: "1 minute OHLC" using only Open, High, Low and Close prices of minute bars; detailed modeling in "Every tick" mode, as well as the most accurate "Every tick based on real ticks" mode applying actual historical data. Comparing the results allows us to assess...
Ndaaaa...
关于交易、自动交易系统和测试交易策略的论坛。
库: EAX_Mysql - MySQL 库
EM 2 04:58:14.300 tExp_a_1.0 (EURUSD.m,M15) 2015.01.01 00:00:00 Access violation at 0x00007FFD08F4C3DF read to 0x000000000000C8890D70 in 'C:\Users\matAppData\Roaming\MetaQuotes\Tester\...\Agent-127.0.0.1-3000\MQL5\Libraries\libmysql.dll'
我发现错误 .
DS 2 14:14:56.980 DbTest01 (CHG,M5) 2015.01.01 00:00:00 Access violation at 0x00007FFE02A4560E read to 0x0000000088FE0C50 in 'C:\Users\arno\AppData\Roaming\MetaQuotes\Tester\D0E8209F77C8CF37AD8BF550E51FF075\Agent-127.0.0.1-3000\MQL5\Libraries\libmysql.dll'.Ndaaaa...
可以修复
1. 使用 dll 版本 v.5.7.17.0
2. 错误发生的原因是操作系统版本为 64 位。在关键位置用 long 变量替换 int 变量(我在 EAX_Mysql.mqh 中的所有地方都进行了更改),以及在我的程序中的调用中进行更改
可以解决这个问题:
1. 使用 dll 版本 v.5.7.17.0
2. 错误发生的原因是操作系统版本为 64 位。在关键位置将 int 变量替换为 long 变量(我在 EAX_Mysql.mqh 中的所有地方都进行了更改),以及在我的程序中的调用中替换为 long 变量。
您认为一个人 2.5 年未修改代码,是在等待答案吗?
嘿,伙计、
我正试图在这里运行一个回溯测试,结果发现一个错误:"无法调用'mysql_init','libmysql.dll'未加载"。
显然,他无法加载 DLL 文件,但我检查过了,它是存在的。有什么办法吗?
PS: 我在终端选项 --> 专家顾问中勾选了允许 DLL
编译不通过。会报错
'db' - unexpected token, probably type is missing? forTest2.mq5 10 1
编译不通过。会报错
'db' - unexpected token, probably type is missing? forTest2.mq5 10 1
watch out!!!
Thank you for your code, it's very good