MQL4 EA or Script


Hello all,

I require a simple EA or script to be written that closes all orders (open and pending) when the last open order's TP level is hit.

So if I have multiple trades open at once, and I have multiple limit orders pending as well (all with same currency), and the price action hits the Take Profit (T/P) price for my most recent open order, then the EA or script should close all other open orders and delete all pending orders (with that currency).

Hopefully this is a straightforward EA to build. I'm guessing the logic is in the ability to read all my open orders and know which order is the most recent.

NOTE: It should only close open and limit orders associated with the currency in which the last order's TP level was hit. In other words, I may wish to use this EA for multiple currencies on same account and do not want it to close all orders associated with other currencies.

Skills: C Programming, C++ Programming, Metatrader

See more: mql4 script, mql4 c, script pending order metatrader, script multiple pending order, multiple trades, metatrader script pending orders, mql4 open script, open orders, pending orders delete, delete pending orders, open multiple order script, multiple pending orders, multiple pending order script, script price metatrader, simple price action, pending order script metatrader, pending order metatrader, close orders script, script open multiple order, script multiple order, metatrader pending order script, script metatrader, open price action, multiple order script, price action mql

Project ID: #4408607

Awarded to:


I specialize in MT4 development and I can design your EA. Please check your inbox for my bid details.

$30 USD in 2 days
(59 Reviews)

10 freelancers are bidding on average $42 for this job


HI, I am expert in making EA and CI for MT4. Check PMB for details.

$30 USD in 0 days
(59 Reviews)

im best for the project.

$71 USD in 4 days
(26 Reviews)

Hello, I can create the EA for you. I am the programmer for MT4 from 2004 year. Please, check PM. Thanks.

$50 USD in 3 days
(8 Reviews)

Hi. I can do this fast and in 1 day.

$30 USD in 3 days
(46 Reviews)

Hi :) I am a metatrader expert. I will make it done for you.

$45 USD in 1 day
(7 Reviews)

Hello. I can give you what you need. Please check the message. Thank you

$45 USD in 0 days
(16 Reviews)

Hello I have ready solution for you.

$35 USD in 1 day
(11 Reviews)

I can do that, contact me.

$30 USD in 0 days
(8 Reviews)

I can do it. Already have one like this, but I forget where it is and your EA will be written from beginning. Why EA, because EA scan your trades on each tick. Not at once.

$30 USD in 1 day
(1 Review)

I can do the required job.

$55 USD in 2 days
(0 Reviews)