Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 20 December 2018 01:45 PM


Public Function SymbolInfoString(SymbolName As String, propId As ENUM_SYMBOL_INFO_STRING, ByRef Val As Variant) As Boolean

This function is used to get string symbol information for a given symbol according to property ID and receive the result on Val parameter.


Key Description 
SymbolName Trading Symbol name,value of type String.
propId The information to get it value, a value of type  ENUM_SYMBOL_INFO_STRING.
Val The received result, value of type String.

Return value

Returns true if success result. In order to get an error, call GetLastError() function.


 Public Sub main ()

  Dim SymbolName

  SymbolName =ChartSymbol (0)
  Dim Result
  IfSymbolInfoString (SymbolName, SYMBOL_BANK, Result) then
  AlertMessage “Bank name for the” & SymbolName & “is:” & Result
  End IF

 End sub

See Also

Back to VTL Client Script Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions