How I make the EA / Script with window's input as accessory?

vx0532

Newbie
Messages
6
Likes
0
Now I want to make an Script which can get "input" by window or other tools when it was executed.

For example, I have open 4 orders on USDJPY as below:

order 1:4259920 buy 4 lots

order 2: 4259921 buy 1 lots

order 3:4259922 buy 2 lots

order 4: 4259923 buy 2 lots

Now I want to create an Script, named as "close_order", when I execute it, a window or other something can come out to receive two parameters(order ticket and n lots);then close this order ticket by n lots.

How I can get this window or similar tools.



In addition, shall I create an EA which can use this Script-"close_order"which I just created in Script, just as use other functions,such as ordersend(),orderclose() and so on?

thanks a lot.
 
Top