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

Delete all objects on chart (main window and sub window) with drag and drop - script for MetaTrader 5
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. The script was meticulously … Read more

Displaying Several CChartObject Objects in a Single Window – script MetaTrader 5

Drawing several charts in a single window
Description: Sometimes it is necessary to monitor several charts simultaneously to find correlations between changes in the rates of various currency pairs. This script allows traders to do that displaying several subcharts in a single chart window. The script has been developed to create charts for the Championship’s Minutes at the Automated Trading Championship 2012. … Read more

Delete all objects on all charts – script MetaTrader 4

Delete all objects on all charts - script for MetaTrader 4
Script deletes all objects on all active charts. Simply drop script on any chart and it will iterate through all open charts and delete all objects. Script is useful for fast deleting objects from charts. Script will not delete objects drawn by indicators. Recommendations: Create keyboard hotkey for the script – right click on script … Read more

Number of objects in the specified chart – script MetaTrader 5

star
An example of implementation of counting different objects on a chart in all subwindows as well as in a particular subwindow. Settings: object type — one of the object types; window index — number of the sub-window (at value “-1” the search is conducted in all subwindows). Number of objects in the specified chart – … Read more