2024年3月26日发(作者:)

MT4

错误代码

主要分二部分:服务器返回的错误代码、MQL4运行的错误代码

1

、服务器返回的错误代码

错误代码

1

2

3

4

5

6

7

8

9

64

65

128

129

130

131

132

133

134

描述 中文释义

没有错误返回

一般错误

交易参数出错

交易服务器繁忙

客户终端软件版本太

没有连接交易服务器

操作权限不够

交易请求过于频繁

交易操作故障

账户被禁用

无效账户

交易超时

无效报价

止损错误

交易量错误

休市

禁止交易

资金不足

no error

common error

invalid trade parameters

trade server is busy

old version of the client terminal

no connection with trade server

not enough rights

too frequent requests

malfunctional trade operation (never

returned error)

account disabled

invalid account

trade timeout

invalid price

invalid stops

invalid trade volume

market is closed

trade is disabled

not enough money

错误代码

135

136

137

138

139

140

141

145

146

147

148

149

150

描述 中文释义

报价发生改变

建仓价过期

经纪商很忙

需要重新报价

定单被锁定

只允许做买入类型操

请求过多

price changed

off quotes

broker is busy (never returned error)

requote

order is locked

long positions only allowed

too many requests

modification denied because order is too

过于接近报价,禁止

close to market

修改

trade context is busy

expirations are denied by broker

amount of open and pending orders has

reached the limit

hedging is prohibited

prohibited by FIFO rules

交易繁忙

交易期限被经纪商取

持仓单数量超过经纪

商的规定

禁止对冲

FIFO禁贝^