All Closed Orders

For obtaining information about a group of closed orders. If shift is greater than zero, then it will be considered as seconds and only those orders which got closed in that amount of seconds will be considered. For example, if shift is 60, only closed orders of last minute will be counted.

Note: These are those orders which opened by current magic number and current symbol. It means ESB only detects its own order.

NameParametersDescription
[ALLCLOSED] Count Returns number of closed orders
[ALLCLOSED] Buys Count Returns number of closed buy orders
[ALLCLOSED] Sells Count Returns number of closed sell orders
[ALLCLOSED] Total Profit Returns profit of the closed orders
[ALLCLOSED] Buys Profit Returns profit of the closed buy orders
[ALLCLOSED] Sells Profit Returns profit of the closed sell orders
[ALLCLOSED] Total Lots Returns total volumes of a closed orders
[ALLCLOSED] Buys Lots Returns total volumes of a closed buy orders
[ALLCLOSED] Sells Lots Returns total volumes of a closed sell orders
[ALLCLOSED] Total Paid Commissions Returns total commission of the closed orders
[ALLCLOSED] Total Buys Paid Commissions Returns total commission of the closed buy orders
[ALLCLOSED] Total Sells Paid Commissions Returns total commission of the closed sell orders
[ALLCLOSED] Total Swap Returns total swap of the closed orders
[ALLCLOSED] Total Buys Paid Swap Returns total swap of the closed buy orders
[ALLCLOSED] Total Sells Paid Swap Returns total swap of a closed sell orders