Return value
Return property for the specific symbol. This function overloads 2 variants
- Returns property value:
Public Function SymbolsInfoInteger(ByVal name As String, ByVal prop_id As ENUM_SYMBOL_INFO_INTEGER) As Long
- 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
Parameters
Parameter | Description |
Name | Symbols name to get it information, |
prop_id | property that |
integer_var | The requested property value, |
Sample
Public Sub main() Dim rst As Double GUI.MsgDialog (ClientCode.SymbolInfoInteger("EUR/USD", VTLGeneral.ENUM_SYMBOL_INFO_INTEGER.SYMBOL_PIP_LOCATION)) If ClientCode.SymbolInfoInteger("EUR/USD", VTLGeneral.ENUM_SYMBOL_INFO_INTEGER.SYMBOL_PIP_LOCATION,rst) then GUI.MsgDialog (rst) Else GUI.MsgDialog ("Failed") End ifEnd Sub
See Also