Syntax
Public Function AddPricelabel(chart_Id As Long, nwin As Long, price As Double, name As String) As Boolean
Description
This function is used to create a price label object atspecified price coordinate.
Parameters
Key | Description |
chart_Id | Chart identifier. 0 mean the current chart, value of type Long. |
nwin | Chart subwindow, the value of type Long. |
price | The price coordinate of the point, the value of type Double. |
name | Object key, the 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