Download MetaTrader 5

What are all values of Order Type?

To add comments, please log in or register
Do you need a programmer? Make an order to let the developer find you!
Amy Liu
644
Amy Liu 2016.04.21 15:35 

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
30775
Alain Verleyen 2016.04.21 17:07  
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
4964
Jose Miguel Soriano 2016.04.23 20:38  
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
644
Amy Liu 2016.05.24 13:14  
Alain Verleyen:
6 is deposit/withdrawal (change in Balance, undocumented). I don't think there is other value.
Thank you. :)
Amy Liu
644
Amy Liu 2016.05.24 13:14  
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