Download MetaTrader 5
To add comments, please log in or register
Having a great idea? Share it on the traders' Forum!
Brian Kester
794
Brian Kester 2015.10.09 13:04 
Hi, Sorry i was not able to find the answer, compiling my EA on a chart reverts external variables to default, what allows the EA on a chart after compiling to keep the settings user had input? Thanks alot.
Keith Watford
Moderator
7887
Keith Watford 2015.10.09 13:17  

I rarely use extern for input parameters nowadays, I tend to use input.

I find that the inputs do not revert to default after compiling unless a new input has been added or one has been removed 

Brian Kester
794
Brian Kester 2015.10.09 13:21  
GumRai:

I rarely use extern for input parameters nowadays, I tend to use input.

I find that the inputs do not revert to default after compiling unless a new input has been added or one has been removed 

thanks ill try it.
Keith Watford
Moderator
7887
Keith Watford 2015.10.09 13:36  
c3po:

thanks ill try it.

I also have 

#property strict

in all my codes, I don't know if that makes a difference or not 

Brian Kester
794
Brian Kester 2015.10.09 17:02  
GumRai:

I also have 

in all my codes, I don't know if that makes a difference or not 


I dont have property strict in mine.

switching "extern" to "input" did not fix. trying property strict.

/
To add comments, please log in or register