MQL4 Reference
Standard constants
Trade operations
|
Operation type for the OrderSend() function.
It can be any of the following values:
| 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. |
|
|
|