您需要 登录 才可以下载或查看,没有帐号?注册
MT4错误代码,主要分二部分:服务器返回的错误代码、MQL4运行的错误代码
1、服务器返回的错误代码[td]错误代码描述中文释义0、1no error没有错误返回2common error一般错误3invalid trade parameters交易参数出错4trade server is busy交易服务器繁忙5old veRSIon of the client terminal客户终端软件版本太旧6no connection with trade server没有连接交易服务器7not enough rights操作权限不够8too frequent requests交易请求过于频繁9malfunctional trade operation (never returned error)交易操作故障64account disabled账户被禁用65invalid account无效账户128trade timeout交易超时129invalid price无效报价130invalid stops止损错误131invalid trade volume交易量错误132market is closed休市133trade is disabled禁止交易134not enough money资金不足135price changed报价发生改变136off quotes建仓价过期137broker is busy (never returned error)经纪商很忙138requote需要重新报价139order is locked定单被锁定140long positions only allowed只允许做买入类型操作141too many requests请求过多145modification denied because order is too close to market过于接近报价,禁止修改146trade context is busy交易繁忙147expirations are denied by broker交易期限被经纪商取消148amount of open and pending orders has reached the limit持仓单数量超过经纪商的规定149hedging is prohibited禁止对冲150prohibited by FIFO rulesFIFO禁则
2、MQL4运行的错误代码
错误代码描述中文释义4000no error (never generated code)没有错误返回4001wrong function pointer函数指针错误4002array index is out of range数组越界4003no memory for function call stack调用栈导致内存不足4004recursive stack overflow递归栈溢出4005not enough stack for parameter堆栈参数导致内存不足4006no memory for parameter string字符串参数导致内存不足4007no memory for temp string临时字符串导致内存不足4008non-initialized string字符串变量缺少初始化赋值4009non-initialized string in array字符串数组缺少初始化赋值4010no memory for array' string字符串数组空间不够4011too long string字符串太长4012rEMAinder from zero divide因除数为零导致的错误4013zero divide除数为零4014unknown command错误的命令4015wrong jump (never generated error)错误的跳转4016non-initialized array数组没有初始化4017dll calls are not allowed禁止调用DLL4018cannot load library库文件无法调用4019cannot call function函数无法调用4020expert function calls are not allowed禁止调用智EA函数4021not enough memory for temp string returned from function函数中临时字符串返回导致内存不够4022system is busy (never generated error)系统繁忙4023dll-function call critical errorDLL函数调用错误4024internal error内部错误4025out of memory内存不够4026invalid pointer指针错误4027too many formatters in the format function过多的格式定义4028parameters count is more than formatters count参数计数器越界4029invalid array数组错误4030no reply from chart图表没有响应4050invalid function parameters count参数无效4051invalid function parameter value参数值无效4052string function internal error字符串函数内部错误4053some array error数组错误4054incorrect series array usage数组使用不正确4055custom indicator error自定义指标错误4056arrays are incompatible数组不兼容4057global variables processing error全局变量处理错误4058global variable not found没有发现全局变量4059function is not allowed in testing mode测试模式中函数被禁用4060function is not /confirm/ied函数未确认4061send mail error发送邮件错误4062string parameter expectedString参数错误4063integer parameter expectedInteger参数错误4064double parameter expectedDouble参数错误4065array as parameter expected数组参数错误4066requested history data is in update state刷新历史数据错误4067internal trade error交易内部错误4068resource not found没有发现资源文件4069resource not supported不支持资源文件4070duplicate resource重复的资源文件4071custom indicator cannot initialize自定义指标没有初始化4099end of file文件末尾4100some file error文件错误4101wrong file name文件名称错误4102too many opened files打开文件过多4103cannot open file不能打开文件4104incompatible access to a file不兼容的文件4105no order selected没有选择定单4106unknown symbol未知的商品名称4107invalid price parameter for trade function价格无效4108invalid ticket报价无效4109trade is not allowed in the expert properties禁止交易,请尝试修改EA属性4110longs are not allowed in the expert properties禁止买入类型交易,请尝试修改EA属性4111shorts are not allowed in the expert properties禁止卖出类型交易,请尝试修改EA属性4200object already exists对象已经存在4201unknown object property未知的对象属性4202object does not exist对象不存在4203unknown object type未知的对象类型4204no object name对象没有命名4205object coordinates error对象坐标错误4206no specified subwindow没有指定副图窗口4207graphical object error图形对象错误4210unknown chart property未知的图表属性4211chart not found没有发现主图4212chart subwindow not found没有发现副图4213chart indicator not found图表中没有发现指标4220symbol select error商品选择错误4250notification error消息传递错误4251notification parameter error消息参数错误4252notifications disabled消息被禁用4253notification send too frequent消息发送过于频繁5001too many opened files文件打开过多5002wrong file name错误的文件名5003too long file name文件名过长5004cannot open file无法打开文件5005text file buffer allocation error文本文件缓冲区分配错误5006cannot delete file文无法删除文件5007invalid file handle (file closed or was not opened)文件句柄无效5008wrong file handle (handle index is out of handle table)文件句柄错误5009file must be opened with FILE_WRITE flag文件必须设置为FILE_WRITE5010file must be opened with FILE_READ flag文件必须设置为FILE_READ5011file must be opened with FILE_BIN flag文件必须设置为FILE_BIN5012file must be opened with FILE_TXT flag文件必须设置为FILE_TXT5013file must be opened with FILE_TXT or FILE_CSV flag文件必须设置为FILE_TXT或FILE_CSV5014file must be opened with FILE_CSV flag文件必须设置为FILE_CSV5015file read error读文件错误5016file write error写文件错误5017string size must be specified for binary file二进制文件必须指定字符串大小5018incompatible file (for string arrays-TXT, for others-BIN)文件不兼容5019file is directory, not file目录名非文件名5020file does not exist文件不存在5021file cannot be rewritten文件不能被重复写入5022wrong directory name错误的目录名5023directory does not exist目录名不存在5024specified file is not directory指定文件而不是目录5025cannot delete directory不能删除目录5026cannot clean directory不能清空目录5027array resize error改变数组大小错误5028string resize error改变字符串大小错误5029structure contains strings or dynamic arrays结构体包含字符串或者动态数组其它unknown error未知错误
外汇交易有很大的风险性,本站所有资源均来自网络,请选择使用,如若出现亏损,本站不承担任何责任!