Download MetaTrader 5

Code of order to withdrawal

To add comments, please log in or register
Валентин
871
Валентин  
We need to know the code order withdrawals

For example codes:

0 - Purchase

1 - sale

2 - baylimit

3 - selllimit

4 - baystop

5 - sellstop

6 - balance (add to deposit)
Keith Watford
Moderator
10378
Keith Watford  
rensbit:
We need to know the code order withdrawals

For example codes:

0 - Purchase

1 - sale

2 - baylimit

3 - selllimit

4 - baystop

5 - sellstop

6 - balance (add to deposit)
I have no idea what you are asking
whroeder1
15326
whroeder1  

6 - balance

7 - credit

On FXCM deposits are 6 so I assume so are withdrawals. But note that there are also commissions and swap.

 * Properties - MQL4 Documentation") e.g.\ OP_BUY, etc.\ as an enumeration with
 * [extended values](https://www.mql5.com/en/forum/124726 "Check Deposit / Withdrawal
 * information - MQL4 forum").
 *
 * `OP_BALANCE` occurs in the history pool, usually for deposit and withdrawals. 
 * There is no magic number or pair associated with these entries. In FXCM, the 
 * comment is "Deposit". 
 * 
 * They also occur with some brokers as entries for commission and swap rather 
 * than using a OrderCommission() and cummulative OrderSwap(). In FXCM, the 
 * comment is "Commission - nnnnnnnnn" and "Rollover - nnnnnnnn". The 
 * commisssion appeared in history when the order is closed, right after the 
 * close order entry. It has the same `OrderOpenTime` and slightly later close 
 * time. Rollovers (swap) appeared once per day, between [00:29:38 - 00:34:03] 
 * for all open orders.                                                       */ 
To add comments, please log in or register