• Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX

Object Functions

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/Object Functions/ObjectType

ObjectType

23 views 0 Updated on December 16, 2021 hybrid-solutions

Syntax

Public Function ObjectType(chart_Id As Long, name As String) As Integer

Description

This function is used to return one of the ENUM_OBJECT value as the object type value by a given object name.

Parameters

Key Description
chart_Id Chart identifier. 0 mean the current chart, the value of type Long.
name Object name that wants to know the type value for it, the value of type String.

Return value

Return one of theENUM_OBJECTvalue. To get the detailed error Information when the object type is -1, call GetLastError() function.

Sample

Public Sub main ()   AlertMessage ObjectType (0, Object Name) End sub

See Also

  • ObjectSeriesGetValue
  • ObjectSeriesSetValue
  • ObjectGetTimeByValue


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  ObjectMove

ObjectLabelMove  

About
VertexFX Trader has a closed-loop trading structure with BackOffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2024 hybridsolutions.com. All Rights Reserved.