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


Public Function ObjectGetValueByPoint(chart_ID As Long, Name As String, point As Integer)As Double

This function is used to return the prices value of the specified object by a given the object point.


Key Description 
chart_ID Chart identifier, 0 mean the current chart,value of type Long.
Name  Object name key,value of type String.
Point  The point value can be 1, 2 or 3 base on object points,value of type Integer.

Return value

Return prices value. If the value is -1 then, call GetLastError() function to read more a bout the error.


 Public Sub main () 
 AlertMessage ObjectGetValueByPoint (0,“Object Name”,1)
 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