Download MetaTrader 5

Button

To add comments, please log in or register
Thousands of developers have already published their products in the Market. Join them!
amando
424
amando 2015.09.14 19:30 

Hello,

 

does anyone have a code for a button to switch an indicator on and off?

 

amando 

amando
424
amando 2015.09.14 22:07  

can work in anyway, expert, indicator or script. The idea behind is, to have an easy control over the indicators.

 

is there an indicator create function or something?

 

amando

Marco vd Heijden
Moderator
4686
Marco vd Heijden 2015.09.16 06:50  

yes

IndicatorCreate(....
amando
424
amando 2015.09.16 18:16  

Hello Marco,

 

thanks for help,

can i use this code only in an indicator or also in an 

 

and to switch it of i can use

 

IndicatorRelease(...

 

thanks 

To add comments, please log in or register