工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
Hi,
I'm looking for EA coder to program on managing pending orders, buy/sell (stop/limit)s.
We will open multiple pending orders for 1 currency (EURUSD for now).
Example:
1. Manual trade placed for 1 standard lot buy stop/limit at 1.12345 with TP 1.12456 and SL at 1.12123.
There could be 2 situation for this:
a. Order get filled at requested price, 1.12345 with TP 1.12456 and SL at 1.12123.
This case, no action needed from the EA.
b. Order get filled by gap at price, 1.12375 with TP 1.12456 and SL at 1.12123.
This case, the EA automatically adjust the TP to 1.12486 and SL at 1.12093 (plus 0.00030 for TP and minus 0.00030 for SL, the difference between requested price and filled price).
During open spreads, high volatility, spreads are taken count and adjust TP/SL based from average spread that a broker provides.
Example, current broker spread are 0.5/0.6 on average, it it goes more than 0.6, EA must adjust the TP/SL as well for Buy (ask) price, because we set TP/SL based on bid price (chart price).
Vise versa for sell stop/limit orders. We will have sell and buy pending order open at the same time as well.
2. Once all open position closed, delete all pending orders.
3. Alerts (email, sounds) on filled pending orders.
4. This should work on high volatility or normal market condition.
5. Any other improvement are welcome to manage pending orders, or if there's already available on Internet, i'll pay for referring it to me.
Thanks