int OrderType( )
Returns order operation type for the currently selected order. It can be any of the following values:
現在、選択されているオーダーの注文操作タイプを返します。次の値のいずれかになります。
OP_BUY – buying position,
OP_BUY – 買いポジション
OP_SELL – selling position,
OP_SELL – 売りポジション
OP_BUYLIMIT – buy limit pending position,
OP_BUYLIMIT – 買い指値ポジション
OP_BUYSTOP – buy stop pending position,
OP_BUYSTOP – 買い逆指値ポジション
OP_SELLLIMIT – sell limit pending position,
OP_SELLLIMIT – 売り指値ポジション
OP_SELLSTOP – sell stop pending position.
OP_SELLSTOP – 買い指値ポジション
Note: order must be selected by the OrderSelect() function.
注意: オーダーは、OrderSelect() 関数で選択されている必要があります。
Sample:
サンプル: