Knowledgebase:
ObjectGetValueByPoint
Posted by Mohammad Rahhal, Last modified by Mohammad Rahhal on 30 July 2018 12:37 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,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.

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