【发布时间】:2018-03-26 02:20:41
【问题描述】:
我的 EA 上有一个“设置”,当我的 EA 遇到错误时,我会向我发送一封电子邮件,并根据 documentation on the MQL4 website 中预先确定的 3-4 位错误代码向我提供错误代码。
/* technically speaking,
error codes with 5+ digits are also possible,
Using:
------ */
SetUserError( 1000000 ); /*
// this will set an error-state
// with a number 1065536 -- having a bit more than the said 3 ~ 4 digits
// composed as ( 1000000 + ERR_USER_ERROR_FIRST )
*/
这是为了让我能够诊断问题。
只是想澄清一下,当我的 MT4 平台日志中出现新错误时,我是否需要刷新我收到的电子邮件中的错误代码(来自以前的错误),或者它是否会自动执行此操作?
【问题讨论】:
标签: algorithmic-trading mql4 metatrader4 mt4