Script to delete an indicator?

 

Hi,

I saw a script that can refresh indicators in a chart. I need a script that can delete a particular indicator instead, eg. MACD, from the current active chart. Is it possible to code such a script? If yes, can someone help code it for me here?

(I know that i can delete indicator from chart manually, but i looking for script to delete indicator(s) that i can add to favourite, then just pull and drop from favourite to chart to delete particular indicator(s). Will be faster than manual clicking =D )