|
GTrade.TradesOnSymbolDirection()
Returns the number of open positions on a specific symbol.
int GTrade.TradesOnSymbolDirection( |
Parameters
direction
[in] The direction of the open positions to be counted. POSITION_TYPE_BUY or POSITION_TYPE_SELL
symbol
[in] The symbol whose trades are to be counted.
Return value
Returns the number of open trades.
Example:
//--- Include Glib classes |
See also