Auto Setfile

 
Hello team is there a way to automatically insert or apply setfile   inside the    code  so that   we can compile with  applied set file settings   
if no method existing then mql5 should look to have that added in the future 
 
Hannah Wanjiku Kimari -:
Hello team is there a way to automatically insert or apply setfile   inside the    code  so that   we can compile with  applied set file settings   
if no method existing then mql5 should look to have that added in the future 
By using extern instead of input, yes, you can
 
Hannah Wanjiku Kimari -: Hello team is there a way to automatically insert or apply setfile   inside the    code  so that   we can compile with  applied set file settings.
if no method existing then mql5 should look to have that added in the future 

Why? Just read a file and use the settings you have in that file!

Or you can just use include files of various settings, which is way more efficient.

 
Mohammed Abdulwadud Soubra #: By using extern instead of input, yes, you can
That makes no difference. You can easily code your EA to use "input" instead of "extern" and still be able to change settings via an include file, or even reading in a file (or Global Terminal Variables) at run-time.
 
Fernando Carreiro #:

Why? Just read a file and use the settings you have in that file!

Or you can just use include files of various settings, which is way more efficient.

thank you

Reason: