Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 24 December 2018 09:30 AM

Return value

Return property for the specific symbol. This function overloads 2 variants as the following:

    1. Returns property value: 

Public Function SymbolsInfoInteger(ByVal name As String, ByVal prop_id As ENUM_SYMBOL_INFO_INTEGER) As Long


    1. Returns bool value according to function is successfully performed: 

Public Function SymbolsInfoInteger(ByVal name As String, ByVal prop_id As ENUM_SYMBOL_INFO_INTEGER, ByRef Long_var As Long) As Boolean


Parameter  Description 
Name  Symbols name to get it information, value of type String.
prop_id property that want to get it value , can be one of ENUM_SYMBOL_INFO_INTEGER
integer_var The requested property value, value of type Long.


Public Sub main()

        Dim rst As Double

        GUI.MsgDialog (ClientCode.SymbolInfoInteger("EUR/USD",

        If ClientCode.SymbolInfoInteger("EUR/USD",

           GUI.MsgDialog (rst)


            GUI.MsgDialog ("Failed")

       End if

End Sub

See Also

Back to VTL Server 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