📅 财经日历 📊 实时波动 📈 大盘云图 📶 行情走势 🆚 投机情绪 🚀 今日热点

    MT4部分错误代码,如有不全,还请补充

    2019-03-27 · 1906 阅读
    MT4错误代码,主要分二部分:服务器返回的错误代码、MQL4运行的错误代码

    1、服务器返回的错误代码[td]错误代码 描述 中文释义
    0、1 no error 没有错误返回
    2 common error 一般错误
    3 invalid trade parameters 交易参数出错
    4 trade server is busy 交易服务器繁忙
    5 old veRSIon of the client terminal 客户终端软件版本太旧
    6 no connection with trade server 没有连接交易服务器
    7 not enough rights 操作权限不够
    8 too frequent requests 交易请求过于频繁
    9 malfunctional trade operation (never returned error) 交易操作故障
    64 account disabled 账户被禁用
    65 invalid account 无效账户
    128 trade timeout 交易超时
    129 invalid price 无效报价
    130 invalid stops 止损错误
    131 invalid trade volume 交易量错误
    132 market is closed 休市
    133 trade is disabled 禁止交易
    134 not enough money 资金不足
    135 price changed 报价发生改变
    136 off quotes 建仓价过期
    137 broker is busy (never returned error) 经纪商很忙
    138 requote 需要重新报价
    139 order is locked 定单被锁定
    140 long positions only allowed 只允许做买入类型操作
    141 too many requests 请求过多
    145 modification denied because order is too close to market 过于接近报价,禁止修改
    146 trade context is busy 交易繁忙
    147 expirations are denied by broker 交易期限被经纪商取消
    148 amount of open and pending orders has reached the limit 持仓单数量超过经纪商的规定
    149 hedging is prohibited 禁止对冲
    150 prohibited by FIFO rules FIFO禁则

    2、MQL4运行的错误代码

    错误代码 描述 中文释义
    4000 no error (never generated code) 没有错误返回
    4001 wrong function pointer 函数指针错误
    4002 array index is out of range 数组越界
    4003 no memory for function call stack 调用栈导致内存不足
    4004 recursive stack overflow 递归栈溢出
    4005 not enough stack for parameter 堆栈参数导致内存不足
    4006 no memory for parameter string 字符串参数导致内存不足
    4007 no memory for temp string 临时字符串导致内存不足
    4008 non-initialized string 字符串变量缺少初始化赋值
    4009 non-initialized string in array 字符串数组缺少初始化赋值
    4010 no memory for array\' string 字符串数组空间不够
    4011 too long string 字符串太长
    4012 rEMAinder from zero divide 因除数为零导致的错误
    4013 zero divide 除数为零
    4014 unknown command 错误的命令
    4015 wrong jump (never generated error) 错误的跳转
    4016 non-initialized array 数组没有初始化
    4017 dll calls are not allowed 禁止调用DLL
    4018 cannot load library 库文件无法调用
    4019 cannot call function 函数无法调用
    4020 expert function calls are not allowed 禁止调用智EA函数
    4021 not enough

    回复

    举报

     

    回答|共 8 个

    qq515521313 LV1

    发表于 2019-4-1 01:08:59 | 显示全部楼层

    这个挺好的

    dslapu LV4

    发表于 2020-6-4 22:42:34 | 显示全部楼层

    看帖回帖是美德!:lol

    pjadoxtj LV3

    发表于 2020-6-29 19:58:33 | 显示全部楼层

    学习了,不错,讲的太有道理了

    LCG环球国际 LV3

    发表于 2020-7-3 15:46:45 | 显示全部楼层

    前排支持下分享

    kevinyang88 LV5

    发表于 2020-7-4 20:26:35 | 显示全部楼层

    谢谢楼主分享

    lily LV3

    发表于 2020-8-3 10:00:09 | 显示全部楼层

    学习了,不错
    您需要登录后才可以回帖 登录 | 注册

    提醒: 禁止引战、谩骂、灌水内容

    微信二维码

    有问题联系客服