ObjectGetValueByPoint
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 07 September 2020 12:54 PM

Syntax

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.

Parameters

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


Return value

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

Sample

 Public Sub main ()  

 AlertMessage ObjectGetValueByPoint (0,“Object Name”,1)

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