작업 종료됨
명시
1. Core HFT Execution Logic: - The Expert Advisor must operate exclusively inside the OnTick() routine, measuring the velocity and density of incoming price ticks using a millisecond-precision sampling window (Default: 200 ms). - ENTRY TRIGGER: Trigger a market execution ONLY when the incoming tick rate exceeds an adaptive baseline or a hard threshold (Default: 3 to 4 ticks within the 200 ms window) showing pure directional momentum. - SPREAD FILTER: Implement a strict, dynamic spread check. The EA must automatically freeze execution if the broker spread exceeds the maximum allowed threshold (Default: 600 pts for DE40 / 1000 pts for XAUUSD) to avoid high transaction costs. 2. Strict Capital Protection & Drawdown Management (< 5%): - FIXED LOT SIZE ONLY: Base execution size locked at 0.01 lots. Absolutely NO Martingale, NO Grid, and NO progressive recovery multipliers. - FIXED TARGETS: Every trade must immediately attach a hard Take Profit (e.g., 1500 pts) and a hard Stop Loss (e.g., 1500 pts) sent directly to the server. Niente virtual targets. - AUTOMATIC EQUITY PROTECTION (Kill-Switch): If the total floating drawdown of the account touches 4% in a single trading session, the EA must instantly liquidate all open positions, purge the cache memory, and completely deactivate the OnTick loop until the next daily session. 3. Code Infrastructure and Optimization: - The code must be ultra-lightweight, with zero calendar-feed dependency or external indicator lags, specifically optimized for "Every tick based on real ticks" modeling in the MT5 Strategy Tester. - Full .mq5 source code with clean annotations must be delivered upon completion.