Delete all Objects from all Charts

 

Hi all,


I'm totally new to MQL4 and have no coding experience at all.

Could somebody please advise me how I can modify a simple script like

int start()
{
//----
ObjectsDeleteAll();
//----
return(0);

}

so that it will delete all objects from all charts, not only from the one it is attached to?


Thanks a lot,

Paladin

 
You can't . . . you need to run it on each chart individually.
 

lol, no wonder then that I've searched the documentation in vain.

I'd hoped that it was possible, like one can close all orders on all charts by attaching a script to any one of them, instead of having to do it separately for each pair.