Job finished
Specification
Spread filter: Do not trade if spread > 35 points
Retest tolerance: 5 pips from breakout level
Break structure defined as recent swing high / swing low on M5
Project Description:
Project Description:
I am looking for an experienced MT5 developer to build a professional Expert Advisor for XAUUSD based on a structured trend-following breakout strategy.
This EA must be built with strict risk management rules (no martingale, no grid, no hedging).
---
### 1. General Requirements
- Platform: MT5
- Symbol: XAUUSD
- Entry timeframe: M5
- Trend filter timeframe: H1
- Trading session: 14:00 – 21:30 (GMT+7)
- No overnight position holding (optional parameter)
---
### 2. Trend Filter (H1)
- EMA50 & EMA200
- Only BUY when EMA50 > EMA200
- Only SELL when EMA50 < EMA200
- If EMA cross happens during the day → stop trading for that day
---
### 3. Entry Logic (M5)
- Break of recent structure
- Retest of breakout level
- Confirmation candle close in trend direction
- Fixed Stop Loss: 30 pips
- Risk-based lot calculation (1–1.5% per trade)
---
### 4. Trade Management (PRO version)
- At 1R (30 pips) → move SL to BE + 2 pips
- At 1.5R → close 50% position
- Remaining 50%:
- Trailing based on recent M5 swing high/low
- Or final TP at 2R
---
### 5. Risk Control
- Max trades per day: 2
- Max daily loss: 4%
- Max consecutive losses: 3 → disable trading for the day
- Max account drawdown: 20% → auto disable EA
- No martingale
- No grid
- No hedging
---
### 6. Additional Requirements
- Clean, optimized, non-repainting logic
- Detailed log output
- Adjustable inputs for all risk parameters
- Backtest-ready
- Source code delivery (.mq5)
- Bug fix support after delivery
---
### Please Answer:
1. Have you developed EA for XAUUSD before?
2. Can you provide sample backtest reports?
3. Estimated delivery time?
4. Estimated cost?
5. Post-delivery support period?
I am looking for a long-term collaboration if this project is successful.
Here is the final specification summary for the EA:
Strategy Logic
• Trend filter using EMA50 / EMA200 on H1
• Break of Structure (BOS) detection on M5 using fractal-style swings (2 candles left / 2 candles right)
• Retest of breakout level required
• Confirmation candle close in trend direction before entry
Trade Management
• Fixed Stop Loss: 30 pips
• Break Even at 1R with +2 pips offset
• Partial close: 50% of the position at 1.5R
• Remaining position trailing based on new confirmed M5 swing highs/lows
Risk Management
• Maximum 2 trades per day
• Stop trading after 3 consecutive losses
• Maximum daily loss: 4%
• Maximum account drawdown: 20% (EA disables itself)
Trading Filters
• Trading session: 14:00 – 21:30 (GMT+7)
• Spread filter to skip trades if spread > 35 points
Additional Requirements
• Chart objects showing BOS levels and trade signals
• Detailed logging of trading decisions
Technical Requirement
• EA must correctly handle XAUUSD pip calculation.
Please confirm that all specifications above are correct before development begins.