A function to delete objects and arrows on the chart :

Code:
ObjectsDeleteAll();