State of button after turning off MT4
-
Hi, a part of my EA moves my stop loss as I progress during the trade. I have created a button to turn this part of the EA off when I don't want my stops moved automatically. My question is: On Deinit, I have Remove buttons. Now, if the button was pressed to stop the stop loss movement (Pressing the button is connected to a "Turn off button") when I turn off MT4, will the deleting of the button be considered as not pressed and therefor enable the automatic SL moving again? I don't want that.
Thanks for any answers.
-
@sirluk I think so but, if you turn off MT4 there is nothing to modify stops.
-
@sirluk If the block settings for that button are selected as 'not pressed' by default, you don't need to worry about.