ObjectGetPointByValue
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 21 August 2020 01:33 PM

Syntax

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

Description

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

Parameters

Key Description 
chart_index Chart identifier, 0 means the current chart, the value of type is Integer
Name The 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.
 

Sample 

Public Sub main()

   AlertMessage ObjectGetPointByValue(0, ”ObjectName”, 1.8)

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