Specifiche
Title: Project A: Professional Multi-Layer Trend-Following EA for XAUUSD (Every Tick Mode)
Description:
I need a highly skilled MQL5 expert developer to create a proprietary trend-following and multi-layer pyramiding Expert Advisor (EA) for XAUUSD on the M1 chart, executing strictly under Every Tick mode. This is Project A, focusing strictly on capturing major unidirectional waves with zero dynamic hedging. All variables must be fully externalized into input parameters. Default code values must strictly use mock placeholders (e.g., 12, 8, 5) to ensure proprietary parameter privacy.
Technical Requirements & Safeguards:
1. [OnInit Handle Memory Lock]: Declare indicator variables globally. Initialize all iStochastic handles strictly inside OnInit(). Re-creating handles inside OnTick() is forbidden to prevent memory overflow on Live accounts. The indicator parameters must support massive slow line periods (e.g., up to 1000 bars) without generating malformed EMPTY_VALUE errors.
2. [Direct Buffer Mapping Flow]: Fetch current bar values (Shift 0) and previous bar values (Shift 1) separately via direct CopyBuffer mapping into individual primitive global double variables (e.g., Alpha_0, Alpha_1). Absolutely ZERO brackets or open-ended dynamic array variables allowed to eliminate array access errors.
3. [Macro Direction vs Micro Floor共振]: Primary Wave Entry (Initial Lot) must trigger only when macro parameters (Filter_Alpha and Filter_Beta) align above 50, and micro triggers pull back completely into the deep oversold floor zone (<20) to capture the absolute needle-point entry. Sub-wave Pyramiding (Add Lot) handles consecutive順勢 additions during micro retracements while the primary wave is active.
4. [News Filter & Initial Position Exemption]: Embed a real-time Forex Factory News API filter. 10 minutes prior to major High-Impact (Red) news, the EA must instantly disable the Pyramiding Sub-Wave entry radar and force-liquidate all open Add_Lot sub-positions. However, this news purge MUST 100% exempt the Primary Wave Main Position, allowing the initial large lot to safely ride through the trend under FTMO Swing account privileges.
5. [Live System Status Dashboard]: Implement a real-time Comment() tracking board on the top-left chart showcasing the active state of the macro trend engine, news countdowns, and active position counts.
6. [Friday Emergency Auto-Liquidation]: When broker server time hits Friday 18:00 (adjustable via inputs), the EA must instantly bypass all entries, execute a loop-based forced liquidation on all running positions for XAUUSD, and completely halt all loops before the weekend close.
==================================================
REQUIRED EXTERNAL INPUT FACELIFT PANEL:
==================================================
input group "======== Trade Control Panel ========"
input double Input_InitialLot = 0.5; // Primary wave entry position lot sizing
input double Input_AddLot = 0.3; // Pyramiding sub-wave entry position lot sizing
input int Input_Slippage = 3; // Maximum allowable slippage points
input string Input_Symbol = "XAUUSD"; // target trading instrument
input group "======== Indicators Period Panel (Mock Placeholder Values) ========"
input int Filter_Alpha = 12; // Mock Value for Macro Anchor 1
input int Filter_Beta = 8; // Mock Value for Macro Anchor 2
input int Filter_Gamma = 5; // Mock Value for Macro Anchor 3
input int Micro_Pivot = 3; // Mock Value for Micro Anchor 1
input int Micro_Sniper = 2; // Mock Value for Micro Sniper
input group "======== Risk and Friday Liquidation Gate ========"
input int Friday_Close_Hour = 18;
input int Friday_Close_Min = 0;
input int Min_History_Bars = 50;
Con risposta
1
Valutazioni
Progetti
326
29%
Arbitraggio
36
25%
/
61%
In ritardo
10
3%
Caricato
2
Valutazioni
Progetti
693
33%
Arbitraggio
43
47%
/
44%
In ritardo
12
2%
In elaborazione
Informazioni sul progetto
Budget
150+ USD
Scadenze
a 3 giorno(i)
Cliente
Ordini effettuati1
Numero di arbitraggi0