Download MetaTrader 5

Script to Remove Specified Indicator From Current Chart

To add comments, please log in or register
grrbear
393
grrbear 2016.10.19 18:04 

hi all,

in mt4 there are hotkeys to load up various indicators onto the current chart using a few key presses. this is great, however, there is no way to do the same to quickly remove an indicator. i am asking if someone could please spend a few minutes to create a script to do this

the user will use metaeditor to enter the name of the specific indicator they want removed, then assign a hotkey to the remover script. indicators can then be removed with hotkeys

this would be appreciated by many down the road i'm sure. thanks in advance

grrbear
393
grrbear 2016.10.20 15:51  
grrbear:

hi all,

in mt4 there are hotkeys to load up various indicators onto the current chart using a few key presses. this is great, however, there is no way to do the same to quickly remove an indicator. i am asking if someone could please spend a few minutes to create a script to do this

the user will use metaeditor to enter the name of the specific indicator they want removed, then assign a hotkey to the remover script. indicators can then be removed with hotkeys

this would be appreciated by many down the road i'm sure. thanks in advance

perhaps i could have given a few examples. the main reason i would like to see this script made is to remove an ma alert. i searched exhaustively and out of all of the ma alerts i could find, there is not one that i would leave on a chart permanently, simply because of technical difficulties like the alarm continues to sound, unecessary screen clutter, and most annoyingly the alarm will sound whenever the time frame is changed, and i do this often(with hotkeys of course)

so i can load the ma alert up quickly with hotkeys whenever i need it, i just need to remove it in the same quick fashion when the alarm has gone off. looking at 4 pairs at a time makes even it more necessary

another example is mtf indicators. there is one called custom candles that paints a higher time frames' candles over top of the current time frames' candles, something i might want to load up occasionally but not keep on a chart

there could be many uses, and i'm sure the code would be very simple ie no more than a few lines
Marco vd Heijden
Moderator
4729
Marco vd Heijden 2016.10.20 22:02  
maybe you can create several templates and switch between them.
grrbear
393
grrbear 2016.10.21 00:17  
Marco vd Heijden:
maybe you can create several templates and switch between them.

thanks for the response, cja at forex factory was nice enough to code one

enjoy : )

Files:
To add comments, please log in or register