Return value
Return property for the specific symbol. This function overloads 2 variants
- Returns property value:
Public Function SymbolsInfoString(ByVal name As String, ByVal prop_id As Integer) As String
- Returns bool value according to function is successfully performed:
Public Function SymbolsInfoString(ByVal name As String, ByVal prop_id As Integer, ByRef tring_var As String) As Boolean
Parameters
Parameter | Description |
Name | Symbols name to get it information, |
prop_id | Property that |
string_var | The |
Sample
Public Sub main() Dim rst As String GUI.MsgDialog (ClientCode.SymbolInfoString("EUR/USD",0)) If ClientCode.SymbolInfoString("EUR/USD",0,rst) then GUI.MsgDialog (rst) else GUI.MsgDialog ("Failed") End ifEnd Sub
See Also