Is there any to detect pressing the rest button in an indicator?

To add comments, please log in or register
Oscar Gomez Fuente
155
Oscar Gomez Fuente  

Hi everyone,


I am trying to detect pressing the rest button in this window?

Reset button indicator window

Is there anyway to detect the click of this button inside a .mql4 file?


Best regards.

Fernando Morales
3159
Fernando Morales  
Oscar Gomez Fuente:

Hi everyone,


I am trying to detect pressing the rest button in this window?


Is there anyway to detect the click of this button inside a .mql4 file?


Best regards.

I don't think it is possible. Why do you want to detect if the user resets the settings? 

William Roeder
20808
William Roeder  
After the deinit/init cycle, If all the settings are at the default, the button has been essentially been pressed. Why do you care?
Oscar Gomez Fuente
155
Oscar Gomez Fuente  
Fernando Morales:

I don't think it is possible. Why do you want to detect if the user resets the settings? 

I would like to delete some objects in the chart.

Oscar Gomez Fuente
155
Oscar Gomez Fuente  
William Roeder:
After the deinit/init cycle, If all the settings are at the default, the button has been essentially been pressed. Why do you care?

1º. According ot that: Why do you care?

I would like to delete some objets of the chart.


2º. According to that: "After the deinit/init cycle, If all the settings are at the default, the button has been essentially been pressed.

If I don't change any parameters, it is the same status that If I click the reset button, so I think it is not a good way.

To add comments, please log in or register