The script is designed to remove all objects, text, lines and other information from the graph. Sometimes the graph is cluttered with unnecessary user lines, or elements that have left behind not quite correctly written indicators and advisers. Either you or your EA used some graphicelements, but now you no longer need them, and the graph has advisors or indicators installed. The script is needed not to close the graph, but to make it clean and readable.
With DaVinci Delete all objects from chart, you can remove graphics not only from the current schedule, but all the objects open in the terminal. The script will automatically clear the comment graph in the top left corner of the graph.
An additional possibility is to remove the indicators from the chart. For example, you want to not only clear the chart of graphics elements, but also remove all indicators at a time, then you need to set the Delete Indicators option in trueposition. This feature will remove the indicators from all graphs when selecting all the characters in the settings. The only downside to this method is that the MT4 terminal is a one-stop and another action, such as a script preventing you from performing the function of removing basement indicators at the same time. Therefore, if you have several of them, there is a chance that not all indicators will be removed because of the features of the terminal and you will need to run the script again. There may also be a slight delay in removing the indicators after the script has been removed from the graph.
|Find Object Name||The word you’re going to take is in the name of a graphic that needs to be removed. If you leave the field empty, all objects will be removed. The feature is useful if you know exactly what objects you no longer need, let’s say many indicators and advisers mark all their items under one word at the beginning of the name, on it and you can clean.|
|Choose Symbol||Remove items from the current Current Symbol or all items open in the terminal (All Symbols).|
|Delete Indicators||Removing indicators from the chart in one click. If you select Choose Symbol, All Symbols, the removal of the indicators will take place on all open charts in the terminal.|
|Print Journal Message||Log information about remote objects and closed schedules.|
An example of how the script works:
Add to the graph specifically many different elements, such as text, lines, shapes, arrows and comment in the top left corner of the screen:
Set the script on the graph either by transferring it from the navigation window, or by clicking the right button on the script’s name – Execute on Chart. Let’s leave all the settings by default.
All, our schedule is clean, and about the removal of objects and the total number of remote objects script told us in the magazine:
The same goes for the indicators: we’ll set 4 random indicators and turn on Delete Indicators, true
The log will issue a message about the removal of indicators:
Simplicity is the key to success!