工作已完成
指定
📌 Description:
I need a fully automated Expert Advisor (EA) built for MT5 based on a liquidity sweep + CHoCH strategy. The EA should only activate after the Asian session ends and trade during the London and New York sessions. Here's the detailed logic:
🧠 Strategy Logic:
🔹 Setup:
-
Asian Session Range (Optional Visualization):
-
Mark Asian High & Low (00:00 - 06:00 server time preferred, but should be adjustable).
-
-
Equal Highs (EQH):
-
After Asian session, identify Equal Highs or Relative Equal Highs (max 3-pip difference).
-
-
Liquidity Sweep Detection:
-
Wait for a third high to form with momentum (strong bullish candle), sweeping the EQH zone (liquidity taken).
-
-
CHoCH or Market Structure Shift:
-
After liquidity sweep, detect CHoCH (Change of Character) or internal structure break indicating reversal.
-
This confirms bearish or bullish intent.
-
-
Fibonacci Retracement Entry:
-
If price retraces to the 60% - 50% Fibonacci zone from swing high to swing low (or vice versa after CHoCH), execute trade:
-
Sell if it swept EQH and CHoCH is bearish.
-
Buy if it swept EQL and CHoCH is bullish.
-
-
🛠 Entry & Exit Rules:
-
Entry Trigger: In 60% - 50% retracement zone after CHoCH.
-
Stop Loss: 5 pips above the sweep high (sell) or below the sweep low (buy).
-
Take Profit: Asian Session Low (for sell) or Asian High (for buy).
⏱️ Time Session Filter (Must-Have):
-
EA should be automatically disabled during the Asian session.
-
Only active during London and New York sessions.
-
After NY session ends, EA must stop trading and reset for next day.
Time windows should be configurable via input settings.
📋 Features Required:
-
✅ Non-repainting logic
-
✅ Smart object detection: EQH/EQL, CHoCH, sweep candle
-
✅ Fibonacci auto-draw & zone detection
-
✅ Session filter (Asian, London, NY with time inputs)
-
✅ Adjustable pip threshold for EQH/EQL (e.g., within 3 pips)
-
✅ Magic Number, Risk Management, SL/TP in pips or auto-based
-
✅ On-chart panel with signals & last action
📎 Deliverables:
-
Full working .mq5 source code
-
Clean, optimized, and documented
-
Visual elements (optional): Asian range, fib levels, CHoCH arrows, entries
-
Backtest-ready version (with settings to optimize logic)
🧑💻 Developer Requirements:
-
Must be highly experienced with MQL5 and smart money/ICT logic
-
Prior examples of market structure or liquidity-based EAs preferred
-
Clean and modular code style
🕐 Timeline:
-
Delivery expected within 5–10 days max.
✅ How to Apply:
Please provide:
-
Sample of similar EA or script (structure/CHoCH/liquidity-based)
-
Estimated delivery time
-
Brief outline of how you will implement CHoCH and EQH detection