mql 4 - I changes a variable value from a text file but the EA properties window remains without any change !
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.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?