landmeister:
Dear all,
I created my first script and it works fine, but I don't know how can I add a Yes/No window every time I put it in a chart, as all default MT4 scripts do now. Could please someone give me some hint?
Thank you very much in advance.
Can you show a screenshot of what you mean ?
Perhaps you mean . . .
#property show_inputs
landmeister:
Sure. This is what we can see when we want to use the "close order" script (Spanish version, sorry).
It is a tipical confirmation window (yes/no). How can I do that?
Thanlk you
Ah I see . . .
Try this function MessageBox()
Great! Thank you very much.

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
Dear all,
I created my first script and it works fine, but I don't know how can I add a Yes/No window every time I put it in a chart, as all default MT4 scripts do now. Could please someone give me some hint?
Thank you very much in advance.