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.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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