Download MetaTrader 5

Scripts: Delete all objects of the selected type

To add comments, please log in or register
Search in documentation is available via MetaTrader 5. Search and learn!
Automated-Trading
Admin
99094
Automated-Trading 2015.03.23 15:03 

Delete all objects of the selected type:

Script is created after idea from the comment on the script "Delete all objects on all charts". Request was to enable deleting only specified object types from the charts.

This script has list of all object types that can be created in the v765, and each object type deleting can be turned on or off.

Author: Drazen Penic

Drazen Penic
2540
Drazen Penic 2015.03.29 22:39  

This script is extension to the "Delete all objects on all charts" script.

Difference is that in this script you can select what types of objects you want to delete from the charts. 

Chrisjogilvie
31
Chrisjogilvie 2016.08.16 14:03  
Thanks for article and script, I had been wondering why  "ObjectsDeleteAll( 0, 0, OBJ_ARROW_PRICE_RIGHT);" wasn't working as I had expected, I hope the documentation can be updated to include all these nuances (omissions),  else it just keeps us on our toes.
Drazen Penic
2540
Drazen Penic 2016.08.16 14:32  
Chrisjogilvie:
Thanks for article and script, I had been wondering why  "ObjectsDeleteAll( 0, 0, OBJ_ARROW_PRICE_RIGHT);" wasn't working as I had expected, I hope the documentation can be updated to include all these nuances (omissions),  else it just keeps us on our toes.

You should submit a request to the Service Desk. 

Possibly, they'll do something if enough users complain. 

To add comments, please log in or register