Expert Advisor for Multi-Timeframe ICT Scalping Strategy (MQL5

指定

Hello,

I need an Expert Advisor for MetaTrader 5 based on a multi-timeframe ICT scalping strategy. The EA must be flexible, allowing different timeframes to be set in the inputs.

Core Logic:

Phase 1: Bias Determination (runs on Bias_Timeframe , e.g., H1)

  1. Identify the Previous Day's High (PDH) and Low (PDL).

  2. Wait for the price to sweep above the PDH or below the PDL.

  3. After the sweep, wait for a Break of Structure (BoS).

    • Bullish BoS: After a PDL sweep, the price must break a significant, recent swing high.

    • Bearish BoS: After a PDH sweep, the price must break a significant, recent swing low.

  4. This sets the dailyBias for the EA to either "BULLISH" or "BEARISH". If no signal, the bias is "NEUTRAL" and the EA does nothing.

Phase 2: Find Zone of Interest (runs on Setup_Timeframe , e.g., M15)

  1. If a bias is active, identify the impulse move that caused the BoS in Phase 1.

  2. Calculate the 50% equilibrium of this impulse move.

  3. Search for a Fair Value Gap (FVG) within the "discount" area (below 50% for longs) or "premium" area (above 50% for shorts). This FVG is our Zone of Interest (POI).

  4. If no FVG is found, the EA should do nothing.

Phase 3: Entry Confirmation (runs on the chart's timeframe, e.g., M5)

  1. The EA waits for the price to retrace into the POI found in Phase 2.

  2. Once the price is inside the POI, the EA must wait for a confirmation candle pattern. The main pattern is a Bullish or Bearish Engulfing candle.

  3. Upon detection of the confirmation pattern, the EA enters immediately with a Market Order.

Phase 4: Trade Management

  1. Stop Loss: Place SL below the low (for longs) or above the high (for shorts) of the impulse move from Phase 2.

  2. Take Profit 1: TP1 is at a 1:1 Risk:Reward ratio. When TP1 is hit, the EA must close 50% of the position and move the SL of the remaining position to Break-Even.

  3. Take Profit 2: The final TP is at a user-defined Risk:Reward ratio (e.g., 1:3).

Required Inputs for the EA:

  • Bias_Timeframe (Dropdown list: H4, H1, M30, M15, M5)

  • Setup_Timeframe (Dropdown list: M30, M15, M5, M1)

  • RiskPercent (e.g., 1.0)

  • RewardRatio_TP2 (e.g., 3.0)

  • TakeProfit1_RR (e.g., 1.0)

  • MagicNumber

  • SwingPoint_Bars (for identifying swing points)

Deliverable:

  • The fully functional and commented .mq5 source code file that finds and executes trades in the backtester. PS. I am open to additions and changes



反馈

1
开发者 1
等级
(22)
项目
24
71%
仲裁
2
0% / 0%
逾期
0
已载入
2
开发者 2
等级
(295)
项目
471
39%
仲裁
102
40% / 24%
逾期
78
17%
繁忙
发布者: 2 代码
3
开发者 3
等级
(2)
项目
2
0%
仲裁
0
逾期
0
工作中
4
开发者 4
等级
(1)
项目
0
0%
仲裁
5
0% / 80%
逾期
0
空闲
5
开发者 5
等级
(64)
项目
144
46%
仲裁
19
42% / 16%
逾期
32
22%
工作中
相似订单
Brave NEW WORLD 30 - 200 USD
ich will finanzielle Freiheit um mir unsre neue Welt so zu gestallten wie Sie UNS gefällt!!! das BIN Ich: "Deutschrap a la Käpt'n Peng, seom, äon. ... mit Unschuld geboren, in eine fremde Welt, schwere Kindheit, aber immer von Engeln geschützt und gefürt. Sehnsucht nach liebe. wenn sie geschenkt und erwiedert wurde, dauerte es nicht lange und sie wurde aus dem immer offenen Herzen wieder raus gerissen. gehalten durch
I need a professional MT5 Expert Advisor (MQL5). Strategy requirements: - Works on XAUUSD and XAGUSD (Gold & Silver) and Forex pairs - Scalping strategy: small frequent profits - Timeframe: M5 and M15 - Very safe risk management - Fixed Stop Loss and Take Profit - No martingale - No grid - No hedging Entry logic: - Based on breakout + trend confirmation - Use EMA 50 and EMA 200 - Use RSI filter - Trade only in strong

项目信息

预算
50 - 80 USD
截止日期
 15 天