| 
    
GTrade.CloseWithComment()
Closes all open trades on a specific symbol that contain a specific comment.
| 
                     
                        int  GTrade.CloseWithComment(  | 
            
Parameter
comment
[in] The comment that the open position must contain to be closed.
symbol
[in] The symbol whose trades are to be closed.
Return value
Returns the number of closed trades.
Note
The comment passed must match exactly the comment in the position.
Example:
| 
                     
                        //--- Include the Glib classes  | 
            
See also