Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Script | Delete all objects on chart (main window and sub window) with drag and drop

MetaTrader Experts, Indicators, Scripts and Libraries

If there are objects cluttering the chart, sometimes you might want to start afresh without having to delete the entire chart and load another one.

This means it may be efficient to drag a script onto the chart in order to clean it. Like a "clear" or "cls" but for objects.

It should be placed in MQL5/Scripts

49993