 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Often in order to find a position we need we have to «run» through all the list. For this we need to know the total number of positions and orders in the list of closed positions and deleted pending orders. The HistoryTotal() will help us to do this.
Format of the HistoryTotal() function:
int HistoryTotal ()
This function returns the number of closed positions and deleted pending numbers, which are downloaded in the client terminal MetaTrader 4 in accordance with the current settings of the tab «Account history».
Example of the HistoryTotal() fuction usage:
int pos;
int total = HistoryTotal();
for ( pos = 0; pos
Next article: "OrderClosePrice function"
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
+7 (495) 710-76-76
|
© 1998—2008 «Alpari» |
|