The function removes the object with the specified name from the specified chart.
[in] Chart identifier. 0 means the current chart.
[in] Name of object to be deleted.
When an object is renamed, two events are formed simultaneously. These events can be handled in an Expert Advisor or indicator by the OnChartEvent() function: