Syntax
Public Function GetPositionSymbol() As String
Description
This function is used to return the position symbol name for the Selected Position.
Parameter
No parameters.
Return value
Returns the symbol name that belongs to the selected position, If an empty string returned, then call GetLastError() function to get error.
Sample
Public Sub main () Dim Price Dim Commission Dim Amount Ticket = PositonGetTicket (1) PositionSelect (Clng (Ticket))Returns True if position selected successfully AlertMessage GetPositionSymbol () End sub
See Also