Download MetaTrader 5

What are all values of Order Type?

To add comments, please log in or register
Amy Liu
744
Amy Liu  

It's said that OrderType has the following values:

Order Types

But I find there will be value 6, what does it mean? And will there be any more values hidden?

Alain Verleyen
Moderator
32830
Alain Verleyen  
Amy Liu:

It's said that OrderType has the following values:


But I find there will be value 6, what does it mean? And will there be any more values hidden?

6 is deposit/withdrawal (change in Balance, undocumented). I don't think there is other value.
Jose Miguel Soriano
5014
Jose Miguel Soriano  
Amy Liu:

It's said that OrderType has the following values:


But I find there will be value 6, what does it mean? And will there be any more values hidden?

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
#define OP_BALANCE   6
Amy Liu
744
Amy Liu  
Alain Verleyen:
6 is deposit/withdrawal (change in Balance, undocumented). I don't think there is other value.
Thank you. :)
Amy Liu
744
Amy Liu  
Jose Miguel Soriano:
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
#define OP_BALANCE   6
Good idea.
To add comments, please log in or register