ObjectMove
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 07 September 2020 01:07 PM

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 the coordinates

Parameters

Key Description
chart_Id Chart identifier. 0 mean the current chart, the value of type Long.
name Object name that wants to move, 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


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
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