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 was wondering how to change the inputs to your Expert Advisor without completely restarting the Expert Advisor. For example:
extern min_to_stop= 30;
Lets say I have a variable(min_to_stop) that counts down time and stops trading for the EA. If have had the EA running for 20 minutes. Lets say I want to increase that time to 60 from the time I started the EA. So i double click the smiley face to change the min_to_stop variable to 60. However at this time all of the variables that i have kept track so far have cleared and now are initialized to the value they were set to in the init() function. is there away to not reset the variables and be able to change an extern variable?
thanks in advance....