Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Home
  • Knowledgebase
  • Blog

Object Functions

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

ObjectMove

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

Syntax

Public Function ObjectMove(chart_Id As Long, name As String, point As Integer, time1 As String, Price1 As Double) As Boolean

Description

This function is used to move an object in the chart by a given thecoordinates

Parameters

Key Description
chart_Id Chart identifier. 0 mean the current chart, the value of type Long.
name Object name that wants tomove, the value of type String.
Point Coordinate index (0-2), the value of type Integer.
time1 New time coordinate value, the value of type String.
Price1 New price coordinate value, the value of type Double.

Return value

Returns true if successful. Otherwise, it returns false.To get the detailed error information, call GetlastError() function.

Sample

 Public Sub main ()  AlertMessage ObjectMove (0,Object Name,1,13/06/2016 12:22:00, 1.12787) End sub

See Also

  • ObjectType
  • ObjectSeriesGetValue
  • ObjectSeriesSetValue


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  ObjectLabelMove

ObjectType  

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
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
  • Release Notes
  • Technical Support
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 2023 hybridsolutions.com. All Rights Reserved.