mql 4 - I changes a variable value from a text file but the EA properties window remains without any change !

 

I changed the value of the variable from the .txt file and The EA worked with new values well.

but the problem is when I came back to the EA properties window (F7) I see The prior values. it seems that mt4 saves the EA set in another place and when we change a variable value in code, the variable window remains without change!

do you have any idea, how can I change the variables from the code and set them into the property window?

 

You changed a variable. That has nothing to do with the EA's properties. There is no way to change the properties via code.

You could change a template with the new values and apply it, thus reloading properties.

Reason: