Orders:
For obtaining information about a group of orders. You can filter orders that are buy or sell or specific volume or its comment included some desired words or not included. The parameters are as follows:
symbols,type,magics,min_size,max_size,comment_include,comment_not_include,tickets
For example, write this for parameters:
EURUSD|USDJPY,BUY, 123456, 0.1, 0.5, MyBot, abc
That means you want to obtain data about opened buy orders on EURUSD and USDJPY pairs that are placed by a robot with magic number 123456 and their lottages are greater than 0.1 and less than 0.5 and their comments are included “MyBot” and not included “abc”. You can use | for multiple symbols, magic numbers, and tickets. For example
EURUSD|USDJPY|GBPUSD, SELL, 123|456|789
If you don’t want use some parameters just leave them empty. For example:
EURUSD, , , 0.1, , MyBot
Name | Parameters | Description |
[ORDERS] Count | symbols, type, magics, min_size, max_size, comment_include, comment_not_include, tickets | Returns number of filtered orders |
[ORDERS] Total Lots | symbols, type, magics, min_size, max_size, comment_include, comment_not_include, tickets | Returns total volumes of a filtered orders |
[ORDERS] Total Profit | symbols, type, magics, min_size, max_size, comment_include, comment_not_include, tickets | Returns total profit of a filtered orders |
[ORDERS] Total Swap | symbols, type, magics, min_size, max_size, comment_include, comment_not_include, tickets | Returns total swap of a filtered orders |
[ORDERS] Total Deposit Load | symbols, type, magics, min_size, max_size, comment_include, comment_not_include, tickets | Returns total deposit load of a filtered orders |
[ORDERS] Max Duration | symbols, type, magics, min_size, max_size, comment_include, comment_not_include, tickets | Returns max duration time of a filtered orders ( duration: how many seconds positions are open) |