Работа завершена
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Техническое задание
Hello coders,
I am looking for an EA that partially closes open trades.
The EA should:
1) have a clickable button to close x% of open positions
2) input area in the EA to set percentage value
3) closes open trades based on (2) and after clicking (1)
Example use-cases:
Open EURUSD trade with 1 lot (50% close)
After first click, 0.5 lots will be closed
After second click, remaining 0.5 lots will be closed
Open EURUSD trade with 1 lot (1/3 close)
After first click, 0.33 lots will be closed
After second click, next 0.33 lots will be closed
After third click, remaining position closed
Open EURUSD trade with 1 lot (1/4 close)
After first click, 0.25 lots will be closed
After second click, next 0.25 lots will be closed
After third click, next 0.25 lots will be closed
After fourth click, entire position closed
Likely a simple and quick job for most of you
I have another similar job if coding is done quick and well