Spezifikation
Project Overview: I am looking for a highly experienced MetaTrader 4 (MQL4) developer to build a sophisticated automated trading system. This is not a standard grid bot; it requires complex trade management, dynamic exposure rebalancing, and a custom "Salami" liquidation module for partial loss mitigation .
Key Features to Implement:
-
Virtual Grid & Dynamic Trend: Price-action-based grid triggers without pending orders . Includes a reversal mechanism that swaps "Trend" and "Counter-Trend" roles instantly based on price movement .
-
Salami Liquidation Engine: A cascading partial-close system that uses a percentage of net profits to systematically "chip away" at the oldest losing positions .
-
Ticket Inheritance Logic: Expert handling of ticket IDs after partial closes to maintain the "Virtual Age" of positions for oldest-debt tracking .
-
Nominal Value Rebalancing: Dynamic lot calculation to balance the total nominal value (Long vs. Short) based on specific coefficients .
-
News & Safety Filters: Integration with an economic calendar API for High Impact (Red) events, including "Smart Exit" and "Hard Stop" sequences before news release .
-
Strict Lot Normalization: Custom rounding-up logic (MathCeil) to ensure all calculated lots meet broker-specific step requirements .
-
Multi-Pair & Multi-Magic Ready: The code must strictly separate data by Symbol and Magic Number to allow simultaneous trading on multiple pairs .
Developer Requirements:
-
Proven experience in complex MQL4 projects (handling partial closes is a must) .
-
Experience with WebRequest for external API integration .
-
Strong focus on logging and error handling (Every Salami step must be logged).
Testing & Delivery Requirement:
-
24-Hour Live Demo Test: Before final milestone release, I require a 24-hour testing period where the EA runs on a live Demo account (e.g., GBP/USD).