Inputs for Scripts
-
I wanted to write a script which would have "Inputs" I am able to do this while I am building it. But when I run the script in MT4 it does not allow me to input anything, it just takes all the defaults.
How can I input those values each time I run the script?
-
wait little bit for reply ... maybe here will be update for this and if not I show you how manually ... but update is prefered

-
You know, I don't have such setting in the options. I think that if you add #property script_show_inputs somewhere on the top of the code it will work. Here are all possible properties: https://www.mql5.com/en/docs/basis/preprosessor/compilation But why do you need this, I think that scripts are supposed to be run quickly...
-
Ok, this option will be added with the next update, you will find it somewhere in the project's options. But these days, hopefully tomorrow, because I'm currently working on something and I'm not prepared to make that update right now.
-
Can you please update here when this is added?
-
When will this be available?
-
for now do it manually, open mql4 file in metaeditor, add this line #property script_show_inputs here:

and click Compile button in metaeditor and test it ...
-
that works! thank you.
-
It should be available now: http://prntscr.com/esicto
Tell me if it doesn't work -
@fxdreema For me it is working. I see the prompt for configure input parameters. It's OK
