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

vx0532

Newbie
6 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.
 
 
AdBlock Detected

We get it, advertisements are annoying!

But it's thanks to our sponsors that access to Trade2Win remains free for all. By viewing our ads you help us pay our bills, so please support the site and disable your AdBlocker.

I've Disabled AdBlock