Syntax
Public Function DeletePriceLabel(chart_Id As Long, name As String) As Boolean
Description
This function deletes the price label object by a given object name.
Parameters
Key | Description |
chart_Id | Chart identifier. 0 mean the current chart, the value of type String |
name | Object key, the value of type String. |
Return value
Return true if successful. Otherwise, it will return false.To get the detailed error information, call GetlastError() function.
Sample
Public Sub main () AlertMessage AddPriceLabel(0, 0, 0.79654,"PriceLabel") AlertMessage DeletePriceLabel(0,"PriceLabel") End sub
See Also