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

Specifiche

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

Con risposta

1
Sviluppatore 1
Valutazioni
(437)
Progetti
648
53%
Arbitraggio
35
63% / 20%
In ritardo
7
1%
In elaborazione
2
Sviluppatore 2
Valutazioni
(3)
Progetti
3
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 7 codici
4
Sviluppatore 4
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
In elaborazione
6
Sviluppatore 6
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 4 codici
8
Sviluppatore 8
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 3 codici
9
Sviluppatore 9
Valutazioni
(78)
Progetti
246
74%
Arbitraggio
7
100% / 0%
In ritardo
1
0%
Gratuito
Pubblicati: 1 articolo, 1 codice
10
Sviluppatore 10
Valutazioni
(3)
Progetti
9
67%
Arbitraggio
0
In ritardo
0
In elaborazione
11
Sviluppatore 11
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
3
0% / 100%
In ritardo
1
100%
Gratuito
12
Sviluppatore 12
Valutazioni
(5)
Progetti
5
20%
Arbitraggio
0
In ritardo
0
In elaborazione
13
Sviluppatore 13
Valutazioni
(5)
Progetti
5
60%
Arbitraggio
1
0% / 0%
In ritardo
2
40%
Gratuito
Pubblicati: 1 codice
14
Sviluppatore 14
Valutazioni
(170)
Progetti
203
47%
Arbitraggio
5
20% / 60%
In ritardo
3
1%
Gratuito
15
Sviluppatore 15
Valutazioni
(2)
Progetti
2
100%
Arbitraggio
0
In ritardo
0
In elaborazione
Pubblicati: 2 codici
16
Sviluppatore 16
Valutazioni
(319)
Progetti
574
35%
Arbitraggio
83
31% / 45%
In ritardo
207
36%
Gratuito
17
Sviluppatore 17
Valutazioni
(369)
Progetti
459
55%
Arbitraggio
24
58% / 17%
In ritardo
31
7%
Gratuito
18
Sviluppatore 18
Valutazioni
(6)
Progetti
8
38%
Arbitraggio
2
50% / 50%
In ritardo
2
25%
Gratuito
19
Sviluppatore 19
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
20
Sviluppatore 20
Valutazioni
(852)
Progetti
1469
72%
Arbitraggio
123
28% / 47%
In ritardo
360
25%
In elaborazione
Pubblicati: 3 articoli
21
Sviluppatore 21
Valutazioni
(263)
Progetti
309
76%
Arbitraggio
15
67% / 0%
In ritardo
6
2%
Caricato
22
Sviluppatore 22
Valutazioni
(13)
Progetti
14
64%
Arbitraggio
0
In ritardo
0
Gratuito
23
Sviluppatore 23
Valutazioni
(25)
Progetti
31
13%
Arbitraggio
14
0% / 79%
In ritardo
9
29%
Gratuito
24
Sviluppatore 24
Valutazioni
(45)
Progetti
63
52%
Arbitraggio
5
0% / 40%
In ritardo
1
2%
Gratuito
25
Sviluppatore 25
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 4 codici
26
Sviluppatore 26
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
27
Sviluppatore 27
Valutazioni
(559)
Progetti
853
61%
Arbitraggio
33
27% / 45%
In ritardo
24
3%
Gratuito
Pubblicati: 1 codice
28
Sviluppatore 28
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
29
Sviluppatore 29
Valutazioni
(12)
Progetti
19
32%
Arbitraggio
0
In ritardo
1
5%
In elaborazione
30
Sviluppatore 30
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
In elaborazione
Pubblicati: 5 codici
31
Sviluppatore 31
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
32
Sviluppatore 32
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
33
Sviluppatore 33
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
34
Sviluppatore 34
Valutazioni
(3)
Progetti
3
0%
Arbitraggio
0
In ritardo
0
Gratuito
35
Sviluppatore 35
Valutazioni
(51)
Progetti
71
37%
Arbitraggio
4
25% / 75%
In ritardo
1
1%
Gratuito
Pubblicati: 1 codice
36
Sviluppatore 36
Valutazioni
(453)
Progetti
566
26%
Arbitraggio
24
42% / 38%
In ritardo
85
15%
Gratuito
Pubblicati: 6 codici
37
Sviluppatore 37
Valutazioni
(16)
Progetti
30
40%
Arbitraggio
3
33% / 67%
In ritardo
7
23%
In elaborazione
38
Sviluppatore 38
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
39
Sviluppatore 39
Valutazioni
(3)
Progetti
2
0%
Arbitraggio
1
0% / 0%
In ritardo
0
Gratuito
40
Sviluppatore 40
Valutazioni
(2)
Progetti
7
0%
Arbitraggio
3
0% / 33%
In ritardo
1
14%
In elaborazione
41
Sviluppatore 41
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
42
Sviluppatore 42
Valutazioni
(206)
Progetti
333
35%
Arbitraggio
66
12% / 58%
In ritardo
87
26%
Gratuito
43
Sviluppatore 43
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
0
In ritardo
0
In elaborazione
Pubblicati: 2 codici
44
Sviluppatore 44
Valutazioni
(89)
Progetti
254
78%
Arbitraggio
9
22% / 56%
In ritardo
36
14%
In elaborazione
Pubblicati: 3 articoli, 26 codici
45
Sviluppatore 45
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the
Mt5 35+ USD
//+------------------------------------------------------------------+ //| HedgingBasket_EA.mq5 | //| Copyright 2026, Trading Bot | //+------------------------------------------------------------------+ #property copyright "Trading Assistant" #property version "1.00" #include <Trade\Trade.mqh> CTrade trade; //--- Input parameters input group "=== Hedging Settings ===" input double InpLotSize = 0.01; // Lot Size for
Custom MT5 Expert Advisor (EA) Development | MQL5 Automation Turn Your Trading Strategy into a Powerful Automated Trading System! Are you looking for a professional MT5 Expert Advisor developer to automate your trading strategy? I specialize in developing custom MetaTrader 5 (MT5) Expert Advisors and indicators using MQL5 , tailored to your trading rules, risk management preferences, and trading goals. Whether you
Hello, I’d like to develop an AI-powered analysis dashboard for , with a clear, easy-to-use design that works on mobile and web, or on the platform we agree on. I’d like it to include: Main dashboard: Show the market status, the latest data update, and the current signal, if available, including direction, entry price, stop loss, targets, and risk-to-reward ratio. AI signal explanations: Explain in clear language why
Scalping bort 30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
Hello, I am looking for an experienced MQL5 developer to create a professional, reliable, fully customizable Expert Advisor (EA) and trading signal system for MetaTrader 5. 1. Supported Markets The EA must support: Gold (XAUUSD) Silver (XAGUSD) Nasdaq 100 (NAS100/US100) Forex currency pairs Bitcoin (BTCUSD) It must work with MT5 brokers, including Tickmill, where these instruments are available. 2. Two Trading Modes
Entry Strategy: Explain exact conditions for opening a trade specific indicators like Moving Averages or RSI, time of day, or price action rules. Exit Strategy: Define when a trade should closeTake Profit, Stop Loss, Trailing Stop, or indicator signals. Daily Trading Rules: Specify daily limits if applicable maximum trades per day, specific trading hours, or maximum daily loss limit. Risk & Position Sizing: Indicate

Informazioni sul progetto

Budget
150+ USD
Scadenze
da 1 giorno(i)

Cliente

Ordini effettuati2
Numero di arbitraggi0