명시
Title: Custom M5 Gold (XAUUSD Cent) Scalper EA with Daily Profit Target and Strict Risk Control
1. OVERVIEW & OBJECTIVE
We need an Expert Advisor (EA) developed for MT4 and MT5 to trade XAU/USD Cent (XAUUSDc on HFM / HF Markets). The EA must operate fully autonomously on M5 charts, targeting micro-pips (3 to 5 cent movements) per trade. The core philosophy is "set-and-forget" with absolute risk protection to prevent equity blowouts.
2. CORE OPERATING LOGIC & PARAMETERS
- Target Profit per Trade: 3 to 5 Cent Units (configurable in Inputs).
- Stop Loss per Trade: 10 to 15 Cent Units (configurable in Inputs).
- Max Open Positions: 1 trade at a time (No Martingale, No Grid, No Averaging down).
- Trade Direction: Trend-following on M5 timeframe using defined indicators (EMA cross / Momentum filter).
3. MANDATORY RISK MANAGEMENT & CIRCUIT BREAKER
- Hard Daily Loss Limit ("Circuit Breaker"): Configurable in Cent currency (e.g., $0.50 USD / 50 Cents). If total daily losses reach this threshold, the EA must IMMEDIATELY close all active trades and stop trading until the next server day.
- Daily Target Cap: Once the cumulative daily profit reaches 100 Cent units ($1.00 USD), the EA must close positions and stop trading for the remainder of the day.
- Forced Session Close: All open trades must be force-closed before Friday market close / weekend rollover or outside defined trading session hours to avoid overnight swap and gap risks.
- News Filter: Integrated high-impact economic news filter to pause trading X minutes before and after high-impact events.
4. USER INTERFACE (ON-CHART DASHBOARD)
Clean, lightweight visual display on the chart showing:
- Current Daily P&L (in Cents and %).
- Distance to Daily Profit Target & Circuit Breaker Limit.
- EA Status (Active / Paused due to News / Daily Target Reached / Circuit Breaker Triggered).
5. DELIVERABLES REQUIRED
- Fully compiled executable files (.ex4 AND .ex5).
- Clean, well-commented Source Code (.mq4 AND .mq5) with full ownership rights.
- Brief setup instructions.