Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 14 January 2019 01:37 PM


Public Function ObjectGetPointByValue(chart_index As Integer, name As String, value As Double) As Integer

This function is used to object point which has the specific price value.


Key Description 
chart_index Chart identifier, 0 means the current chart, the value of type is Integer
Name Object name, the value of type is String
value The prices value, the value of type is Double

Return value

Returns the point number which has a given price, otherwise returns -1, In Order to get an error call GetLastError() function.


Public Sub main()

   AlertMessage ObjectGetPointByValue(0, ”ObjectName”, 1.8)

End Sub


See Also

Back to VTL Client Script Index

(0 vote(s))
Not helpful

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