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 0x00000000C8890D70 in 'C:◆UsersmatAppData ◆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...
ンダア...
トレーディング、自動売買システム、トレーディング戦略のテストに関するフォーラム。
ライブラリ: 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 0x00000000C8890D70 in 'C:◆UsersmatAppData ◆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:˶Usersarno˶AppDataRoaming˶MetaQuotes˶TesterD0E8209F77C8CF37AD8BF550E51FF075˶Agent-127.0.0.1-3000MQL5Libraries˶libmysql.dll'ンダアアア...
修正できます:
1. dll バージョン v.5.7.17.0
2.OSのバージョンが64ビットであるため、エラーが発生する。要所要所でint型変数をlong型変数に置き換える(EAX_Mysql.mqhのあちこちで変えました)。
修正可能です:
1. dll バージョン v.5.7.17.0
2. OSのバージョンが64ビットであるため、エラーが発生する。要所要所でint型変数をlong型変数に置き換える(EAX_Mysql.mqhのあちこちで変えました)。
2年半もコードを修正せず、回答を待っている人がいると思いますか?
やあ、
バックテストを 実行しようとしているのですが、"Cannot call 'mysql_init', 'libmysql.dll' is not loaded "というエラーが出てしまいます。
どうやらDLLファイルをロードできていないようなのですが、確認したところちゃんとありました。何か心当たりはありますか?
追記:ターミナル・オプション --> Expert Advisor の Allow DLL にチェックを入れています。
コンパイルが通らない。エラーが報告される。
'db' - 想定外のトークンです。おそらく型が見つからないのでしょう。 forTest2.mq5 10 1
コンパイルが通らない。エラーが報告される。
'db' - 予期しないトークンです。おそらく型が見つからないのでしょう。 forTest2.mq5 10 1
気をつけろ!
コードをありがとう。