MQL5 FREELANCE REQUIREMENTS - SAFE PACKAGE

Project: Modify existing MT5 XAUUSD M5 Expert Advisor (FIXED2 safe copy)

This is NOT a new robot from zero. It is a modification/review task for an existing MQL5 EA.

Main goals:
1) Buy entries:
   - Buy trades are currently too rare.
   - Previous Buy ADX filter was too strict at 45; current test setting is 40.
   - Review Buy filters and improve Buy entry quality without making entries random or weak.

2) Sell entries:
   - Sell trades may enter too late after a large move.
   - Add an optional safe filter to avoid late sell entries after strong overextension.

3) Exit logic:
   - Review when the EA should exit trades.
   - Add optional Break Even / early-exit logic based on MFE/MAE or TradeHealth data.
   - Do not force new exit logic by default unless agreed.

4) Diagnostics:
   - Verify or improve TradeHealth / MFE-MAE shadow logging.
   - Shadow diagnostics must only log data and must not block trades unless manually enabled by input.

Strict rules:
- No Grid.
- No Martingale.
- No recovery lot.
- No lot increase.
- No stacking positions.
- Do not change money management.
- Do not change Telegram credentials.
- Every new feature must have ON/OFF input.
- Every change must be logged.
- Must compile with 0 errors and 0 warnings.

Deliverables required:
- Full modified MQ5 source file with a NEW name.
- Compiled EX5 file.
- SET file.
- Short report explaining exactly what was changed.
- Backtest comparison before/after if possible.

Important:
This EA is used on a small live account, so changes must be conservative, testable, and not risky.
Do not work directly on the live file name. Deliver a renamed development version only.
