PROJECT: ADVANCED MT4/MT5 EA OPTIMIZATION – AUTOMATED TRADING, DYNAMIC PROFIT LOCKING, AUTO LOT & PROFESSIONAL RISK MANAGEMENT
Hello Developer,
I already have an existing Expert Advisor (EA) for MetaTrader 4/5. It is currently running, but I need an experienced MQL4/MQL5 developer to fix its problems and improve its trading performance, execution, risk management, and reliability.
I want to preserve the original trading strategy as much as possible while adding advanced automated trade management.
My main objective is to develop a fully automated EA capable of trading multiple opportunities throughout all market sessions, managing positions independently, protecting profits, and calculating lot sizes automatically.
1. CONTINUOUS AUTOMATED TRADING – ALL SESSIONS
This is one of my most important requirements.
I want the EA to operate throughout all available trading sessions:
- Asian session.
- London session.
- New York session.
- London/New York overlap.
- All sessions enabled simultaneously.
Requirements:
- The EA should continue searching for valid trading opportunities throughout the day.
- Execute new trades whenever the strategy generates valid entry signals.
- Support multiple trades and multiple entries.
- Do not unnecessarily stop trading after closing one successful position.
- When a trade closes, the EA should continue monitoring the market and execute the next valid opportunity.
- Allow new entries while other positions are running, subject to risk and exposure limits.
- Automatically manage existing positions.
- Do not force-close profitable positions simply because a trading session ends.
- No arbitrary daily trading-hours shutdown.
I want continuous automated operation, not an EA that takes only one trade and then stops.
2. 10-PIP PROFIT TARGET & SHORT-TERM TRADE MANAGEMENT
I want the EA to support short-term profit targets, particularly 10 pips.
Requirements:
- Configurable Take Profit starting at 10 pips.
- Adjustable targets, for example 10, 15, 20, 25 and 30 pips.
- Ability to select fixed or dynamic Take Profit.
- Automatically calculate lot size according to the Stop Loss distance and selected risk percentage.
- Allow the EA to manage several positions independently.
- Close positions automatically when their exit conditions are met.
- Continue searching for new opportunities after positions close.
The 10-pip target should be configurable rather than permanently fixed.
3. BOTH TRAILING STOP LOSS AND TRAILING TAKE PROFIT
I specifically want BOTH systems implemented.
A. Trailing Stop Loss
- Automatically adjust Stop Loss as the market moves into profit.
- Configurable activation level.
- Configurable trailing distance.
- Break-even protection.
- Lock in profits progressively.
- Never move the protective Stop Loss backwards.
- Protect open positions when the market reverses.
B. Trailing Take Profit / Dynamic Take Profit
I want Take Profit to be dynamically adjustable as the trade moves into profit.
Requirements:
- Automatically extend the profit target when market movement supports it.
- Configurable profit-target extension.
- Progressive profit locking.
- Close positions when the market reverses according to configured exit conditions.
- Work together with Trailing Stop Loss.
- Avoid conflicting Stop Loss and Take Profit modifications.
Please explain the implementation because I understand that conventional broker-side Take Profit is a fixed target, whereas dynamic Take Profit requires additional management logic.
4. HIDDEN LOCK-IN PROFIT SYSTEM
Implement an optional hidden profit protection system.
- Track floating profit internally.
- Activate profit protection after reaching a configurable profit level.
- Remember the highest floating profit.
- Close the position when profit retraces by a specified amount or percentage.
- Allow different profit-locking settings for different positions.
- Protect accumulated profits automatically.
5. HIDDEN JUMP STOP LOSS
Implement optional hidden Stop Loss functionality.
- Monitor market price internally.
- Close the position when the configured hidden stop condition is reached.
- Support configurable stop distances.
- Include protection against execution delays.
- Provide an option to use broker-side emergency Stop Loss as backup.
6. AUTOMATIC LOT SIZE – MONEY MANAGEMENT
I want an intelligent Auto Lot system.
It should calculate lot size based on:
- Account balance.
- Account equity.
- Configurable risk percentage.
- Stop Loss distance.
- Market instrument and contract specifications.
- Current market conditions where appropriate.
Additional requirements:
- Fixed Lot Size option.
- Automatic Lot Size option.
- Manual lot adjustment.
- Minimum and maximum lot restrictions.
- Automatic lot adjustment as account equity changes.
- Proper calculations for different currency pairs and instruments.
The Auto Lot system must support 10-pip profit targets while calculating risk from the actual Stop Loss distance.
7. MULTIPLE TRADES & POSITION MANAGEMENT
I want the EA to execute multiple valid trades throughout the day.
- Multiple entries when valid signals appear.
- Independent Stop Loss and Take Profit management.
- Independent trailing for each position.
- Individual hidden profit protection.
- Automatic closing when exit conditions are reached.
- Ability to open another trade after a previous trade closes.
- Avoid duplicate entries from the same signal.
- Configurable maximum simultaneous positions.
- Configurable maximum total account exposure.
I do not want the EA restricted to one trade per day.
8. RISK MANAGEMENT & EQUITY PROTECTION
Implement:
- Fixed percentage risk per trade.
- Fixed lot option.
- Maximum account drawdown.
- Equity protection.
- Maximum open exposure.
- Optional daily loss protection.
- Maximum consecutive losses.
- Emergency trading suspension.
Important: I want the EA to be able to trade all sessions without an arbitrary daily trading shutdown. However, critical account protection must remain available and independently configurable.
9. NEWS, SPREAD & EXECUTION FILTERS
- High-impact news filter.
- Configurable news protection periods.
- Spread protection.
- Slippage protection.
- Volatility filter.
- Market condition filter.
- Avoid abnormal spreads.
- Avoid poor execution conditions.
- Broker Stop Level and Freeze Level compatibility.
- Proper order handling.
- Automatic error handling and recovery.
All filters should have independent ON/OFF inputs.
10. MODULAR EA STRUCTURE
Please implement these systems independently:
1. Entry and exit strategy.
2. Risk management.
3. Automatic lot sizing.
4. Stop Loss management.
5. Take Profit management.
6. Trailing Stop Loss.
7. Trailing Take Profit.
8. Hidden profit lock.
9. Hidden Stop Loss.
10. News filter.
11. Spread and slippage protection.
12. Session management.
13. Equity protection.
14. Multiple position management.
I want to adjust settings without changing the original entry strategy.
11. TESTING & DELIVERY
Before final delivery, please provide:
- Updated MQ4/MQ5 source code.
- Explanation of all new settings.
- Backtesting under different market conditions.
- Forward testing on a demo account.
- Testing with realistic spreads, commissions and slippage.
- Testing multiple simultaneous positions.
- Testing Auto Lot calculations.
- Testing trailing and hidden profit protection.
- Testing account protection and recovery after connection interruptions.
I will test the EA on a demo account before considering live deployment.
12. QUESTIONS FOR THE DEVELOPER
1. Have you developed professional automated trading systems for MT4/MT5?
2. Have you implemented both Trailing Stop Loss and dynamic Trailing Take Profit?
3. Can you implement hidden profit locking and hidden Stop Loss?
4. Can you develop an EA that continuously trades across all sessions?
5. Can it close positions automatically and continue executing new valid signals?
6. Can you implement Auto Lot for 10-pip profit targets with risk-based position sizing?
7. Can you demonstrate previous EA projects?
8. How do you test reliability under real broker execution conditions?
13. PAYMENT & CONFIDENTIALITY
- Milestone-based payment.
- No full payment upfront.
- No unrealistic profit guarantees.
- Complete source code must be delivered.
- Existing EA and strategy must remain confidential.
- No black-box modifications.
- Explain all major changes before implementation.
FINAL OBJECTIVE
I want a fully automated, modular and reliable EA that can trade multiple opportunities across all market sessions, use automatic lot sizing, target configurable 10–30 pip profits, manage both trailing Stop Loss and dynamic Take Profit, lock in profits, close positions automatically, and continue searching for the next valid trading opportunity.
My priority is professional execution, controlled risk, capital protection and consistent trading discipline rather than unrealistic profit promises.
Please review my existing EA first and provide your technical assessment, proposed improvements, development cost and estimated completion time.