MT4编程中的交易类型

交易类型

Constant

Value

Description

OP_BUY 0 Buying position.

OP_SELL 1 Selling position.

OP_BUYLIMIT 2 Buy limit pending position.

OP_SELLLIMIT 3 Sell limit pending position.

OP_BUYSTOP 4 Buy stop pending position.

OP_SELLSTOP 5 Sell stop pending position.

Buy stop: 止损买进,是指在相对与目前现价而言高于现价的价格挂单的买进操作指令

buy limit:限价买进,是指相对现价而言,低于现价的价格挂单的买进的操作指令。

sell stop:止损卖出,是指相对现价而言,低于现价的价格挂单的卖出操作指令。pepperstone激石

sell limit:限价卖出,是指相对现价而言,高于现价的价格挂单的卖出操作指令。

PENGDING ORDER就是

buy limit,指以低于现价的价位限价买入,是交易人认为价位跌到某个时候,买入比较安全了。

buy stop,指以高于现价的价位限价买入,是交易人认为当价位一旦突破某个价位时,就是向上突破了,故此买入。

sell limit,指以高于现价的价位限价卖出,是交易人认为价位涨到某个时候,卖出比较安全了。

buy stop,指以低于于现价的价位限价卖出,是交易人认为当价位一旦突破某个价位时,就是向下突破了,故此卖出。