Specification
📋 Project Description:
I’m looking for an experienced MQL5 developer to build an EA that trades based on market structure with multi-timeframe confirmation. The core logic is as follows:
📌 Strategy Logic:
➤ Trend Filter (H1 and optional H4):
Use a ZigZag indicator on H1 (and optionally on H4) to determine the trend direction:
-
Uptrend = latest H1 HH and HL
-
Downtrend = latest H1 LL and LH
-
Optional second trend filter via H4 ZigZag
-
Only open entries on M1 in the direction of the H1 trend
➤ Entry Signal (M1):
-
Buy at HL (only if trend = uptrend)
-
Sell at LH (only if trend = downtrend)
-
Optional: entry only after candle closes above HL (or below LH)
-
Optional: RSI confirmation using a selectable timeframe
-
Buy if RSI > X (e.g. 55), Sell if RSI < Y (e.g. 45)
-
➤ Scalping / Grid Option:
-
Option to open multiple entries at subsequent HLs or LHs
-
Configurable minimum distance between entries (in pips)
-
Lot size adjustable per step (fixed or multiplied)
➤ Exit Logic:
-
Default: close at the next ZigZag turning point (LL/LH or HH/HL)
-
Optional exit conditions:
-
MA crossover (user-defined MAs)
-
RSI divergence (optional)
-
Known support/resistance or fibo level (optional input)
-
-
Trailing Stop: optional, pip- or ATR-based
-
SL/TP: user-defined in pips or based on latest HH/LL
➤ Time Filters:
-
Active trading hours configurable (e.g., only between 08:00–22:00 CET)
⚙️ User Configurable Parameters:
-
Lot size, magic number
-
Enable/disable H1 or H4 trend filter
-
RSI settings: value and timeframe
-
Minimum distance between entries (pips or ATR)
-
Max number of active trades per direction
-
Trailing Stop: enable, trigger, and step
-
MA parameters
-
Trade window (time filter)
-
SL/TP method: fixed or HH/LL-based
-
Use of external indicators (e.g. custom ZigZag as mq5/ex5)
✅ Requirements:
-
Fully compatible with MetaTrader 5
-
Primary target: XAU/USD should work on any symbol
-
Must support Strategy Tester backtesting
-
Clean, well-commented code
-
Full MQ5 source code must be delivered
🧩 On-screen Dashboard:
Include a small on-chart dashboard to display live status of key conditions, such as:
-
H4 trend direction (e.g. UP)
-
H1 trend direction (e.g. UP)
-
M1 trend direction (e.g. DOWN)
-
RSI value (e.g. RSI M5: 60)
This helps quickly assess whether all entry filters are met or not. -
⚙️ User Configurable Parameters:
-
Lot size (fixed lot and % of account balance)
-
Magic number
-
Enable/disable H1 or H4 trend filter (set enable disable and timeframes)
-
RSI settings: value and timeframe
-
Minimum distance between entries (pips)
-
Max number of active trades per direction
-
Trailing Stop: enable, trigger, and step
-
MA parameters
-
Trade window (time filter)
-
SL/TP method: fixed or HH/LL-based or ma or RSi
-
Use of external indicators (e.g. custom ZigZag as mq5/ex5)
-
-
You need to use this ZigZag indicators https://www.mql5.com/en/market/product/93115?source=External. Delivery preferred within 5–10 days.