# Proyecto MQL5 – Phase 4 ## Adaptive Entry & Dynamic Exit System for Gold Precision M15 (XAUUSD MT5) Looking for an experienced MT5 developer for the next evolution phase of an existing professional XAUUSD M15 Expert Advisor. The EA already exists and is fully functional. This phase is NOT a new EA from scratch. The goal is to add: * “Second Chance” adaptive entry logic * Protected RR-based profit locking * Dynamic liquidity-based take profit expansion * Structure-based trailing logic The current EA already includes: * EMA trend filter * ADX filter * ATR-based SL/TP * Session filters * Daily drawdown protections * One trade at a time * FTMO-oriented risk management The new phase must preserve the existing defensive philosophy: low-frequency, high-quality entries only. --- # REQUIRED NEW FEATURES ## 1. SECOND CHANCE MODE When a valid setup is blocked by the current filters, the EA should temporarily monitor the market for a possible clean re-entry opportunity. The EA must: * detect blocked setups * activate temporary monitoring state * search for retracement/recovery structure * validate re-entry conditions Possible confirmation logic may include: * bullish/bearish engulfing candles * rejection candles * medium-body continuation candles * support/resistance reaction * structure recovery * break of confirmation level * continuation after pullback The logic must remain fully rule-based and deterministic. No discretionary/manual interpretation. --- # 2. RR PROTECTION SYSTEM The EA must protect profits after reaching minimum RR target. Minimum protected level: RR 1:2 After RR 1:2 is reached: Possible actions: * move SL to positive level * lock partial profit * activate protected trade state The goal is: preserve FTMO-style capital protection. --- # 3. DYNAMIC LIQUIDITY TAKE PROFIT After profit protection is active, the EA should optionally allow trade continuation if momentum and structure remain valid. The EA may dynamically target: * previous highs/lows * liquidity zones * equal highs/equal lows * session highs/lows * continuation momentum * ATR expansion * trend continuation structure The idea is: protect profits first, then allow expansion. This is NOT a grid system. This is NOT martingale. This is NOT HFT. --- # 4. STRUCTURE-BASED TRAILING EXIT Trailing logic should NOT be aggressive. The exit system should preferably follow: * structure lows/highs * EMA dynamic support * momentum continuation logic Goal: avoid premature exits caused by normal XAUUSD volatility. --- # IMPORTANT REQUIREMENTS * MT5 only * XAUUSD only * M15 only * One active position at a time * Deterministic logic only * Clean, modular code * Full MQ5 source code delivery required * Existing EA source code will be provided after project agreement --- # IMPORTANT This project is focused on: * consistency * risk control * FTMO compatibility * low drawdown * selective high-quality trades NOT high-frequency trading. Please apply only if you have: * strong MT5 experience * experience with advanced EA logic/state management * experience with professional risk management systems Please provide: * similar projects * estimated development approach * estimated timeline * fixed-price proposal Thank you.