MQL4参考 标准常量,列举和架构 交易常数 订单属性

Order Properties

Operation type for the OrderSend() function. It can be any of the following values:

ID

Value

Description

OP_BUY

0

Buy operation

OP_SELL

1

Sell operation

OP_BUYLIMIT

2

Buy limit pending order

OP_SELLLIMIT

3

Sell limit pending order

OP_BUYSTOP

4

Buy stop pending order

OP_SELLSTOP

5

Sell stop pending order