mt5 ea 无法加载

 
mt5 ea 无法加载
日志出现 initialzing failed with code 1
请问各位大神要怎么解决这问题
 

mt5 ea 初始值返回 1,1 就是 INIT_FAILED,表示这个 ea 的 OnInit 初始化函数返回 INIT_FAILED 初始化失败,如果这个不是你自己写的 ea,那可能写的人在初始化设置日期等一些限制,使用已到期,返回这个初始化失败的值。

也有可能是其他 ea 初始化失败的原因,例如 ea 初始化调用第三方指标,你那里没有那个第三方指标等等。下面英文是 MetaQuotes 对于 INIT_FAILED 的解说:


Initialization failed; there is no point in continuing testing because of fatal errors. For example, failed to create an indicator that is required for the work of the Expert Advisor.

This return value means the same as a value other than zero - initialization of the Expert Advisor in the tester failed.

 
ambercrystal:

mt5 ea 初始值返回 1,1 就是 INIT_FAILED,表示这个 ea 的 OnInit 初始化函数返回 INIT_FAILED 初始化失败,如果这个不是你自己写的 ea,那可能写的人在初始化设置日期等一些限制,使用已到期,返回这个初始化失败的值。

也有可能是其他 ea 初始化失败的原因,例如 ea 初始化调用第三方指标,你那里没有那个第三方指标等等。下面英文是 MetaQuotes 对于 INIT_FAILED 的解说:


Initialization failed; there is no point in continuing testing because of fatal errors. For example, failed to create an indicator that is required for the work of the Expert Advisor.

This return value means the same as a value other than zero - initialization of the Expert Advisor in the tester failed.

谢谢你的解说
 
ambercrystal:

mt5 ea 初始值返回 1,1 就是 INIT_FAILED,表示这个 ea 的 OnInit 初始化函数返回 INIT_FAILED 初始化失败,如果这个不是你自己写的 ea,那可能写的人在初始化设置日期等一些限制,使用已到期,返回这个初始化失败的值。

也有可能是其他 ea 初始化失败的原因,例如 ea 初始化调用第三方指标,你那里没有那个第三方指标等等。下面英文是 MetaQuotes 对于 INIT_FAILED 的解说:


Initialization failed; there is no point in continuing testing because of fatal errors. For example, failed to create an indicator that is required for the work of the Expert Advisor.

This return value means the same as a value other than zero - initialization of the Expert Advisor in the tester failed.

我看了源码上并没有写到设和关于日期的样式

作者在直播ea运行时也没有带任何的指标

不知道是啥问题

 
yusen1491:

我看了源码上并没有写到设和关于日期的样式

作者在直播ea运行时也没有带任何的指标

不知道是啥问题



如果有源码,可以附上源码,让论坛朋友大家一起看问题在那里,这样才能快速解决你的问题。


原因: