威力外汇

 找回密码
 注册

QQ登录

只需一步,快速开始

开启左侧

MT4QL错误代码及中文释义

[复制链接]
窜天猴 发表于 2018-4-7 18:28:04 | 显示全部楼层 |阅读模式
MT4错误代码,主要分二部分:服务器返回的错误代码、MQL4运行的错误代码
1、服务器返回的错误代码
错误代码描述中文释义
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禁止调用DLL
4018cannot 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 confirmed函数未确认
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_WRITE
5010file must be opened with FILE_READ flag文件必须设置为FILE_READ
5011file must be opened with FILE_BIN flag文件必须设置为FILE_BIN
5012file must be opened with FILE_TXT flag文件必须设置为FILE_TXT
5013file must be opened with FILE_TXT or FILE_CSV flag文件必须设置为FILE_TXT或FILE_CSV
5014file must be opened with FILE_CSV flag文件必须设置为FILE_CSV
5015file 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未知错误

上一篇:巴菲特致股东的信
下一篇:怎样识别MT4软件的真假?
贫穷的环境其实哪里都会有,努力并不代表一定有回报。 但缺少那股奋发向上的精神,只会更加一无所有。 在这个10亿人均收入少于1000/月的国家,只有敢拼搏 敢付出的人 才有机会迎来希望的曙光。
回复

使用道具 举报

关闭

站长推荐上一条 /10 下一条

“在妓女的眼中,这个世界上没有女人是不卖的。她们对一个听到女人不卖的传闻,能理解的上限就是:是不是价格没有谈拢啊?”——罗永浩

小黑屋|威力社区

GMT+8, 2024-5-19 09:21 , Processed in 0.125128 second(s), 38 queries .

Powered by Discuz! X3.4

© 2017-2020 Comsenz Inc.

本网站仅在国家法律允许时提供学习交流。本网站不代理经纪商(broker),不参与经纪商经营活动,不对经纪商提供担保或承担任何责任。

高风险提示:外汇黄金、差价合约等杠杆类交易包含重大亏损风险,阁下可能会于交易时蒙受损失超过存入的资金!!! 因此未必适合每一位投资者。 阁下必须充分理解所涉及的风险并在必要时寻求独立财务顾问建议。

任何在本网站内发表的评论、新闻、研究、分析、价格、其他资料或第三方网站的链接只能视作一般市场资讯。本网站信息不构成或导致(1) 提供或出售任何金融服务或产品的要约邀请;(2)采取任何金融产品相关行动的推荐(明示或暗示);或(3)任何投资建议或市场预测。 市场意见并非按照旨在促进投资研究独立性的法律要求而拟备,因此并非受到发放此等资料前禁止交易的约束。本网站不会为直接或间接使用或 依赖此等资料而可能引致的任何亏损或损失(包括但不限于任何盈利的损失)负责。