Syntax
Public Function SymbolName(pos As Integer, Selected As Boolean) As String
Description
This function is used to return symbol name for a given position on the market watch or on a general list according to selected value.
Parameters
Key | Description |
pos | The symbol position in the market watch or on the general list,a value of type Integer. |
Selected | If true, then the symbol is taken from the market watch. Otherwise, the symbol is taken from the general list, value of type Boolean. |
Return value
Returns the symbol name as a String value.
Sample
Public Sub main()AlertMessage SymbolName(1,true) 'An Alert Message with the symbol name will showEnd Sub
See Also