MT4错误代码最完整总.doc
文本预览下载声明
请问MT4 EA不能开单,日志显示“OrderSend error 130”是什么意思
最好能直接给我一个能用的ORDERSEND的代码,希望能根据相应条件,每个货币对都能开单而且只开一单。
举报违规检举侵权投诉|2013-08-23 13:19 提问者采纳
百度啊,大哥。也有MT4错误代码表的。ERR_INVALID_STOPS,检查你的止损价位,是不是太近、甚至设反了。
======================================================================
MT4错误代码最完整汇总(2011-05-16 09:44:02)转载▼标签: 杂谈 分类: 外汇
MT4 的错误代码是存放在MetaEditor的libraries文件夹下 stdlib.mq4或stderror.mq4文件中
但是内容都是英文,我将这部分的翻译转过来,以供参考
case 1: error_string=no error; 没有错误返回。;
case 2: error_string=common error; 没有错误返回但结果不明;
case 3: error_string=invalid trade parameters; 一般错误;
case 4: error_string=trade server is busy;无效交易参量;
case 5: error_string=old version of the client terminal;交易服务器繁忙;
case 6: error_string=no connection with trade server;客户终端旧版本;
case 7: error_string=not enough rights;没有连接服务器;
case 8: error_string=too frequent requests;没有权限;
case 9: error_string=malfunctional trade operation (never returned error);请求过于频繁;
case 64: error_string=account disabled; 交易运行故障;
case 65: error_string=invalid account;账户禁止;
case 128: error_string=trade timeout;无效超时;
case 129: error_string=invalid price; 无效价格;
case 130: error_string=invalid stops;无效停止;
case 131: error_string=invalid trade volume;无效交易量;
case 132: error_string=market is closed;市场关闭;
case 133: error_string=trade is disabled;交易被禁止;
case 134: error_string=not enough money;资金不足;
case 135: error_string=price changed;价格改变;
case 136: error_string=off quotes; 开价;
case 137: error_string=broker is busy (never returned error);经纪繁忙;
case 138: error_string=requote;重新开价;
case 139: error_string=order is locked;定单被锁定;
case 140: error_string=long positions only allowed;只允许看涨仓位;
case 141: error_string=too many requests;过多请求;
case 145: error_string=modification denied because order too close to market;因为过于接近市场,修改否定;
case 146: error_string=trade context is busy;交易文本已满;
case 147
显示全部