Syntax
Public Function GetSymbolByIndex(ByVal SymbolIndex As String) As VTLGeneral.CSymbol
Description
This function used to get symbol object by symbol index at
Parameters
Parameter | Description |
SymbolIndex | Index of |
Return value
Returns a
Sample
' Bid price by getting the symbol object by its index Public Sub main() Dim i as Integerfor i = 0 to ClientCode.SymbolsCount()Dim vsymbol as VTLGeneral.CSymbolvsymbol = ClientCode.GetSymbolByIndex(i)if not vsymbol is nothing then GUI.MsgDialog(vsymbol.bid.Tostring)end if next End Sub
See Also