Knowledgebase:
AddPricelabel
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 06 July 2017 02:00 PM

Syntax

Public Function AddPricelabel(chart_Id As Long, nwin As Long, price As Double, name As String) As Boolean

This function is used to create a price label object at specified price coordinate.

Parameters

Key Description
chart_Id Chart identifier. 0 mean the current chart, value of type Long.
nwin Chart sub window, value of type Long.
price The price coordinate of the point, value of type Double.
name Object key, value of type String.

Return value

Returns true if successful. Otherwise returns false. In order to get an error, call GetLastError() function.

Sample

Public Sub main ()
  AlertMessage AddPriceLabel (0, 0, 0.79654,"PriceLabel")
 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