Syntax
Public Function ChartSymbolId(Optional chart_ID As Integer=0) As Integer
Description
This function is used to return the symbol ID for the given chart identifier.
Parameters
Key | Description |
Chart_ID | Chart identifier to know it symbol ID. Value of type is Integer |
Return value
Returns the symbol ID orreturns -1 if the chart does not exist. If an error occurred, call GetLastError to read the error.
Sample
Public Sub main() AlertMessage ChartSymbolId (0) End Sub
See Also