Specifiche
I need an EA (Expert Advisor) for MetaTrader 5 that will have the following functionalities:
1. **Automatic account opening after closing the previous ones:**
- EA should monitor closed orders.
- After closing the account, the EA should open a new pending account with the same parameters (lot size, Take Profit, Stop Loss), but adjusted to the current price.
- If the current price is lower than the price of the closed order, the EA should open a pending **Buy Stop** order.
- If the current price is higher than the price of the closed order, the EA should open a ** Buy * pending order.
- EA should check if there is already a pending order with the same parameters (symbol, opening price, order type) before opening a new order.
2. **Deleting all open orders:**
- The EA should have an option to close all open positions (eg via command or button).
- EA should have an option to delete only profitable accounts.
- EA should have an option to delete only losing orders.
3. **Delete all pending orders:**
- EA should have an option to delete all pending orders.
4. **Profitable Account Management:**
- EA should have an option to automatically close profitable orders when they reach a certain profit in pips (eg 10 pips).
5. **Management of losing orders:**
- EA should have an option to automatically close losing orders when they exceed a certain loss in pips (eg 20 pips).
6. **EA Management:**
- EA should have option to pause and resume operation (eg on/off button).
7. **Additional functionalities:**
- **Logging:** The EA should save details of all orders (symbol, opening price, order type, profit/loss) in a text file for later analysis.
- **Testing:** The EA should be able to be tested on historical data.
---
### Technical details:
- **Platform:** MetaTrader 5 (MT5).
- **Programming language:** MQL5.
- **Magic Number:** We will use Magic Number 123456 to identify the account of this EA.
---
### Deadlines and budget:
- **Deadline for production:** 7 days.
- **Budget:** 30 USD (can be discussed depending on the complexity).
---
Please send me an offer and inform me about further steps. Also, feel free to contact me if you need additional information.
Thanks in advance!
---
### Contact information:
- **Email:** kodgorana.rs@gmail.com