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