I am seeking help to finalize and test an Expert Advisor (EA) designed to secure trading capital against risks such as news events and the New York market open. The EA is built for MetaTrader 5 and is intended to work with accounts running multiple Expert Advisors.
Current Features:
-
Safety Button (Lock EA):
- Closes all open positions and pending orders.
- Prevents all other EAs and manual trading from opening new positions.
-
Risk Management:
- Monitors maximum daily loss.
- Monitors maximum loss per trade.
- Automatically halts trading and locks EAs after exceeding daily limits until the next reset (new trading day).
-
Time Filters:
- Disables trading during the New York market open.
- Optional filtering during high-impact economic events (news calendar).
Tasks to Complete:
Feature Enhancements and Verification:
-
Profit Monitoring:
- Add functionality to monitor maximum profit and stop other EAs after reaching the limit or zeroing out.
-
News Monitoring:
- Display upcoming high-impact news events (e.g., from Forex Factory or other sources) with a countdown to the next three events.
- Show a clear message if economic calendar data is unavailable.
-
Manual Trading Halt:
- Add the ability to stop manual trading and the opening of new positions.
-
Filter Control:
- Enable/disable each filter individually through the interface.
Interface Improvements:
-
Real-Time Monitoring:
- Display maximum daily loss in both dollar and percentage values, updated on each tick.
- Show the number of open trades and real-time PnL (profit/loss) from all positions.
- Countdown to daily reset (or account unlock after being locked).
-
Readable Dashboard:
- Improve background and text readability with dynamic scaling and adaptive colors based on chart size.
- Optimize layout for clarity, even with a large amount of displayed information.
-
Additional Stats:
- Daily, weekly, and monthly PnL tracking.
- Display the next three high-impact news events.
Testing:
-
Functionality Verification:
- Ensure the "Lock EA" button works correctly in real-world conditions by closing positions and preventing trading.
- Test the EA on different accounts running multiple EAs to ensure compatibility and no conflicts.
-
Risk Management:
- Verify single-trade stop-loss functionality.
- Test the daily loss limit by ensuring the EA blocks all new trades (manual and automated) until the daily reset.
Integration:
- Telegram Notifications (Optional):
- Add integration to send Telegram messages with updates on:
- Daily PnL.
- Single trade loss exceeding a limit.
- Daily loss limit being hit.
Why I Need Help:
I lack experience in designing a fully functional user interface and integrating the EA with external data sources (e.g., news APIs, Telegram). Additionally, I would like a more experienced developer to assist with testing and validating the EA's functionality to ensure its accuracy and reliability.
Please let me know if you can assist with the tasks outlined above. I am happy to provide the current EA code for analysis and further development. Thank you in advance for your support!