EA Development Request: XAUUSD Heiken Ashi + EMA 50 Scalper (MT5)

指定

1. Overview
Build an MQL5 Expert Advisor for MetaTrader 5 that trades XAUUSD (Gold) as a scalper, using Heiken Ashi candles and a 50 EMA for entries.

2. Platform and symbol

  • MetaTrader 5, Expert Advisor (.mq5 and compiled .ex5)
  • Symbol: XAUUSD (must work with broker suffixes, e.g. XAUUSDm)
  • Default timeframe: M5 (configurable; M1 to M15 should work)

3. Indicators

  • Heiken Ashi candles, calculated inside the EA (no external indicator needed)
  • EMA, period 50, applied to Close (period and price type as inputs)

4. Entry logic (evaluated only on a newly closed candle, no repainting)

  • BUY: the last 3 closed Heiken Ashi candles all close above EMA 50. Optional filter: all 3 are bullish (HA close > HA open).
  • SELL: the last 3 closed Heiken Ashi candles all close below EMA 50. Optional filter: all 3 are bearish.
  • Number of confirmation candles is an input (default 3).
  • One trade at a time (input: max open trades, default 1).
  • No new trade while one is open in the same direction.

5. Exit logic

  • Stop Loss: fixed in points, or ATR-based (input, selectable)
  • Take Profit: fixed in points or risk:reward ratio (default 1:1.5)
  • Optional: close the trade when a Heiken Ashi candle closes on the opposite side of EMA 50
  • Optional: break-even and trailing stop (inputs: trigger points, step points)

6. Risk management

  • Lot size: fixed lot, or % of balance risked per trade (input)
  • Max spread filter (gold spreads widen; skip entries above the limit)
  • Max daily loss % and max daily trades, after which the EA stops for the day
  • Slippage setting (max deviation in points)

7. Trading filters

  • Trading session filter (start and end time, server time), so it can avoid rollover and news hours
  • Optional: skip trading on Fridays after a set time
  • Optional: minimum distance between candle close and EMA to avoid flat, choppy markets

8. Inputs panel (all adjustable)
Timeframe, EMA period, confirmation candles, lot mode and size, SL, TP, trailing, break-even, max spread, session times, daily limits, magic number, trade comment.

9. Technical requirements

  • Use CTrade, handle requotes and errors with retries
  • Handle 5-digit and 3-digit pricing and different broker contract sizes correctly
  • Trades tagged with a magic number so the EA only manages its own orders
  • Log entries, exits and errors in the Experts tab
  • Clean, commented code

10. Deliverables

  • Source code (.mq5) and compiled file (.ex5)
  • Strategy Tester backtest on XAUUSD, 1 year minimum, using "Every tick based on real ticks"
  • Short user guide for installing and setting inputs

11. Testing and acceptance

  • Backtest results match the entry and exit rules above
  • Forward test on a demo account for at least 2 weeks before going live
  • No repainting; signals fire only on closed candles

反馈

1
开发者 1
等级
(438)
项目
652
53%
仲裁
35
63% / 20%
逾期
7
1%
工作中
2
开发者 2
等级
(3)
项目
3
0%
仲裁
1
0% / 100%
逾期
0
空闲
3
开发者 3
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 7 代码
4
开发者 4
等级
(1)
项目
2
0%
仲裁
0
逾期
0
空闲
发布者: 21 代码
5
开发者 5
等级
(2)
项目
2
50%
仲裁
0
逾期
1
50%
空闲
6
开发者 6
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
7
开发者 7
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 5 代码
8
开发者 8
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
发布者: 4 代码
9
开发者 9
等级
(78)
项目
248
74%
仲裁
7
100% / 0%
逾期
1
0%
空闲
发布者: 2 文章, 1 代码
10
开发者 10
等级
(4)
项目
11
55%
仲裁
1
100% / 0%
逾期
0
空闲
11
开发者 11
等级
(1)
项目
1
0%
仲裁
3
0% / 100%
逾期
1
100%
空闲
12
开发者 12
等级
(11)
项目
10
60%
仲裁
1
0% / 0%
逾期
0
空闲
13
开发者 13
等级
(5)
项目
5
60%
仲裁
1
0% / 0%
逾期
2
40%
空闲
发布者: 1 代码
14
开发者 14
等级
(170)
项目
203
47%
仲裁
5
20% / 60%
逾期
3
1%
空闲
15
开发者 15
等级
(5)
项目
7
86%
仲裁
0
逾期
0
空闲
发布者: 4 代码
16
开发者 16
等级
(319)
项目
574
35%
仲裁
84
31% / 44%
逾期
207
36%
工作中
17
开发者 17
等级
(373)
项目
465
56%
仲裁
24
58% / 17%
逾期
32
7%
工作中
18
开发者 18
等级
(6)
项目
8
38%
仲裁
2
50% / 50%
逾期
2
25%
空闲
19
开发者 19
等级
(1)
项目
1
100%
仲裁
0
逾期
0
空闲
20
开发者 20
等级
(854)
项目
1472
72%
仲裁
122
29% / 48%
逾期
361
25%
空闲
发布者: 3 文章
21
开发者 21
等级
(268)
项目
319
74%
仲裁
16
75% / 0%
逾期
6
2%
已载入
22
开发者 22
等级
(13)
项目
14
64%
仲裁
0
逾期
0
空闲
23
开发者 23
等级
(25)
项目
31
13%
仲裁
14
0% / 79%
逾期
9
29%
空闲
24
开发者 24
等级
(45)
项目
63
52%
仲裁
5
0% / 40%
逾期
1
2%
空闲
25
开发者 25
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 6 代码
26
开发者 26
等级
(2)
项目
2
0%
仲裁
1
0% / 100%
逾期
0
空闲
27
开发者 27
等级
(568)
项目
866
61%
仲裁
33
27% / 45%
逾期
24
3%
工作中
发布者: 1 代码
28
开发者 28
等级
项目
0
0%
仲裁
0
逾期
0
空闲
29
开发者 29
等级
(14)
项目
23
35%
仲裁
0
逾期
2
9%
工作中
30
开发者 30
等级
(6)
项目
14
71%
仲裁
1
0% / 0%
逾期
6
43%
已载入
发布者: 6 代码
31
开发者 31
等级
项目
0
0%
仲裁
0
逾期
0
空闲
32
开发者 32
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 1 代码
33
开发者 33
等级
项目
0
0%
仲裁
0
逾期
0
空闲
34
开发者 34
等级
(3)
项目
3
0%
仲裁
0
逾期
0
空闲
35
开发者 35
等级
(51)
项目
71
37%
仲裁
4
25% / 75%
逾期
1
1%
工作中
发布者: 1 代码
36
开发者 36
等级
(453)
项目
566
26%
仲裁
24
42% / 38%
逾期
85
15%
空闲
发布者: 6 代码
37
开发者 37
等级
(16)
项目
30
40%
仲裁
3
33% / 67%
逾期
7
23%
工作中
38
开发者 38
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 2 代码
39
开发者 39
等级
(3)
项目
2
0%
仲裁
1
0% / 0%
逾期
0
空闲
40
开发者 40
等级
(2)
项目
7
0%
仲裁
3
0% / 33%
逾期
1
14%
工作中
41
开发者 41
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
42
开发者 42
等级
(206)
项目
333
35%
仲裁
66
12% / 58%
逾期
87
26%
空闲
43
开发者 43
等级
(2)
项目
4
25%
仲裁
1
100% / 0%
逾期
1
25%
空闲
发布者: 3 代码
44
开发者 44
等级
(89)
项目
254
78%
仲裁
9
22% / 56%
逾期
36
14%
工作中
发布者: 3 文章, 26 代码
45
开发者 45
等级
项目
0
0%
仲裁
0
逾期
0
空闲
46
开发者 46
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
47
开发者 47
等级
项目
0
0%
仲裁
0
逾期
0
空闲
48
开发者 48
等级
(7)
项目
6
0%
仲裁
4
25% / 75%
逾期
2
33%
空闲
49
开发者 49
等级
(515)
项目
554
53%
仲裁
13
69% / 15%
逾期
3
1%
空闲
50
开发者 50
等级
(183)
项目
278
64%
仲裁
4
50% / 25%
逾期
10
4%
空闲
51
开发者 51
等级
项目
0
0%
仲裁
0
逾期
0
空闲
52
开发者 52
等级
项目
0
0%
仲裁
0
逾期
0
空闲
53
开发者 53
等级
(408)
项目
527
24%
仲裁
62
58% / 24%
逾期
60
11%
工作中
54
开发者 54
等级
项目
0
0%
仲裁
0
逾期
0
空闲
55
开发者 55
等级
项目
0
0%
仲裁
0
逾期
0
空闲
56
开发者 56
等级
(4)
项目
8
0%
仲裁
3
33% / 67%
逾期
4
50%
空闲
57
开发者 57
等级
项目
0
0%
仲裁
0
逾期
0
空闲
58
开发者 58
等级
项目
0
0%
仲裁
0
逾期
0
空闲
59
开发者 59
等级
项目
0
0%
仲裁
0
逾期
0
空闲
60
开发者 60
等级
(7)
项目
7
71%
仲裁
0
逾期
0
空闲
61
开发者 61
等级
(64)
项目
145
46%
仲裁
21
38% / 24%
逾期
32
22%
空闲
62
开发者 62
等级
项目
0
0%
仲裁
0
逾期
0
空闲
63
开发者 63
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 1 代码
64
开发者 64
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
发布者: 5 代码
65
开发者 65
等级
项目
0
0%
仲裁
0
逾期
0
空闲
66
开发者 66
等级
项目
0
0%
仲裁
0
逾期
0
空闲
67
开发者 67
等级
项目
0
0%
仲裁
0
逾期
0
空闲
68
开发者 68
等级
项目
0
0%
仲裁
0
逾期
0
空闲
69
开发者 69
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 2 代码
70
开发者 70
等级
项目
0
0%
仲裁
0
逾期
0
空闲
71
开发者 71
等级
项目
0
0%
仲裁
0
逾期
0
空闲
72
开发者 72
等级
项目
0
0%
仲裁
0
逾期
0
空闲
73
开发者 73
等级
项目
0
0%
仲裁
0
逾期
0
空闲
74
开发者 74
等级
(81)
项目
113
57%
仲裁
6
83% / 17%
逾期
5
4%
工作中
75
开发者 75
等级
项目
0
0%
仲裁
0
逾期
0
空闲
76
开发者 76
等级
项目
0
0%
仲裁
0
逾期
0
空闲
77
开发者 77
等级
项目
0
0%
仲裁
0
逾期
0
空闲
78
开发者 78
等级
(2)
项目
3
33%
仲裁
0
逾期
2
67%
工作中
79
开发者 79
等级
项目
0
0%
仲裁
0
逾期
0
空闲
80
开发者 80
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 1 文章, 1 代码
81
开发者 81
等级
项目
0
0%
仲裁
0
逾期
0
空闲
82
开发者 82
等级
项目
0
0%
仲裁
0
逾期
0
空闲
发布者: 1 代码
83
开发者 83
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
84
开发者 84
等级
项目
0
0%
仲裁
0
逾期
0
空闲
85
开发者 85
等级
项目
0
0%
仲裁
0
逾期
0
空闲
86
开发者 86
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
Lilyearfx 30+ USD
Hello Developer, I want an Expert Advisor (EA) for MT5 for BTCUSD. PLATFORM: - MetaTrader 5 (MT5) - Symbol: BTCUSD - Timeframe: M1 and M5 - Broker: Exness STRATEGY - SIMPLE PULLBACK: 1. The EA must wait for a big fast move UP or DOWN, like after NFP news at 15:30 South Africa time. 2. After a big UP move (example: price jumps +500 points in 5 minutes), DO NOT buy at the top. 3. Wait for price to come back down
Sniper Bot* not just a random EA. It is a sniper. *How It Works:* *Strategy:* Pure Liquidity Zones - It waits patiently for price to sweep liquidity, then snipes it. No gambling, no martingale, no grid. - *Discipline:* It does NOT trade every day. No setup = No trade. Quality over quantity. *Risk Control:* Fixed Stop Loss of *30 Pips per entry*. Your risk is always defined before the trade. *Speed:* It does NOT hold
MyFirstEA 30+ USD
//+------------------------------------------------------------------+ //| MyFirstEA.mq5 | //+------------------------------------------------------------------+ #property copyright "Me" #property version "1.00" #property strict #include <Trade\Trade.mqh> //--- Inputs input double InpLots = 0.10; // Lot size input int InpFastMA = 10; // Fast MA period input int InpSlowMA = 30;
Hello, looking for a profitable long term bot to use on real live capital. No martingale allowed. Willing to also give % base ofnprofits for performing fees. Backtest is a must with real ticks
I NEED A PROFITABLE FOREX /FUTURES TRADING ROBOT. A VERY SIMPLE PROFITABLE TRADING ROBOT WITH 3 TECHNICAL CHECKS [AN MQL5 FOREX/FUTURES BOT] . THAT I CAN BOTH USED ON MY PRIVATE LIVE ACCOUNT AND PROP FIRM CHALLENGE ACCOUNT. THE STRATEGIES / LOGIC AND THE ALGORITHM CAN BE ANY PRICE ACTION BOT, IT CAN ANY PRICE ACTION COMBINED WITH ANY INDICATOR TO FILTER THE TREND OR TO GIVE ME THE TREND. THESE ARE MUST HALF
Seeking an Established and Profitable Gold Scalping System – MT5 I am a serious buyer looking to acquire an existing, fully operational Expert Advisor specifically designed for scalping XAUUSD (Gold) on MetaTrader 5. I am particularly interested in experienced developers and quantitative traders who have developed successful proprietary trading systems, including systems that are not publicly available on the MQL5
I am looking for the original developer from Egypt who sent me the MJ v3.01 Gold EA (mj.ex5) on December 2, 2026, with a 10-day demo trial. You were Developer #28 in my previous Freelance job and offered the EA for $200. Unfortunately, I lost access to our previous conversation and would like to reconnect with you. I am still interested in your EA and would like to complete the testing, discuss the settings, and
EA 30+ USD
Build an MT5 Expert Advisor using MQL5. I want an automated trading bot for Exness MT5. Markets: XAUUSD (Gold) BTCUSD (Bitcoin), subject to the broker's actual symbol name. Trading strategy: H1 timeframe for trend direction. M15 timeframe for trade entries. EMA 20 and EMA 50 for trend identification. Only buy when the confirmed trend is bullish. Only sell when the confirmed trend is bearish. Use candle-close
Gulu 30+ USD
create money on forex ensuring nothing but profit basically also crypto an d ensure you use every means possible to ensure in turn a profit is made that what i want i want perfection
If you already have a working gold order-flow EA that matches the logic described here, I'm open to buying or licensing it instead of a custom build. Please provide: A demo version that I can run in the MT5 Strategy Tester (for example, a time-limited or demo-account-only build) A clear explanation of the trading logic: what triggers an entry, how the stop loss and take profit are set, and which order-flow or

项目信息

预算
150+ USD
截止日期
从 1 天