Specification
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
Responded
1
Rating
Projects
648
53%
Arbitration
35
63%
/
20%
Overdue
7
1%
Working
2
Rating
Projects
3
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 7 codes
4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Working
6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
8
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
9
Rating
Projects
246
74%
Arbitration
7
100%
/
0%
Overdue
1
0%
Free
Published: 1 article, 1 code
10
Rating
Projects
9
67%
Arbitration
0
Overdue
0
Working
11
Rating
Projects
1
0%
Arbitration
3
0%
/
100%
Overdue
1
100%
Free
12
Rating
Projects
5
20%
Arbitration
0
Overdue
0
Working
13
Rating
Projects
5
60%
Arbitration
1
0%
/
0%
Overdue
2
40%
Free
Published: 1 code
14
Rating
Projects
203
47%
Arbitration
5
20%
/
60%
Overdue
3
1%
Free
15
Rating
Projects
2
100%
Arbitration
0
Overdue
0
Working
Published: 2 codes
16
Rating
Projects
574
35%
Arbitration
83
31%
/
45%
Overdue
207
36%
Free
17
Rating
Projects
459
55%
Arbitration
24
58%
/
17%
Overdue
31
7%
Free
18
Rating
Projects
8
38%
Arbitration
2
50%
/
50%
Overdue
2
25%
Free
19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Rating
Projects
1469
72%
Arbitration
123
28%
/
47%
Overdue
360
25%
Working
Published: 3 articles
21
Rating
Projects
309
76%
Arbitration
15
67%
/
0%
Overdue
6
2%
Loaded
22
Rating
Projects
14
64%
Arbitration
0
Overdue
0
Free
23
Rating
Projects
31
13%
Arbitration
14
0%
/
79%
Overdue
9
29%
Free
24
Rating
Projects
63
52%
Arbitration
5
0%
/
40%
Overdue
1
2%
Free
25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
26
Rating
Projects
2
0%
Arbitration
1
0%
/
100%
Overdue
0
Free
27
Rating
Projects
853
61%
Arbitration
33
27%
/
45%
Overdue
24
3%
Free
Published: 1 code
28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Rating
Projects
19
32%
Arbitration
0
Overdue
1
5%
Working
30
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Working
Published: 5 codes
31
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
34
Rating
Projects
3
0%
Arbitration
0
Overdue
0
Free
35
Rating
Projects
71
37%
Arbitration
4
25%
/
75%
Overdue
1
1%
Free
Published: 1 code
Similar orders
Ninjascript strategy tester
30+ USD
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
MQL5/MT5 TRADING BOT
57+ USD
Hi i'm looking for a trading bot that will trade on mt5/MQL5. The bot must be able to follow trend and works on any pair,chart and symbol. All distance measured with ATR. Trend from a higher time frame (default H1) with a moving average;UP/DOWN. Support and resistance found automatically from recent swing highs and low nothing drawn on the chart. Two kinds of trades, each can be switched on/off. S/R trades; price
EA-MT5-XAUUSD-PuPrime-Live6 +10%/m
30 - 200 USD
I am looking for an EA using MT5, trading XAUUSD on PuPrime-Live6, Standard account. LIMITATIONS No martingale, no grid. Start equity 1000 EUR. Leverate 1:500 Account in USD. PuPrime-Live6 All settings (risk, time, drawdown %, cooldown, lot size) shall be adjustable on init or backtest. VERIFICATIONS The EA needs to reach the profit goals on Actual Ticks, 100ms slippage in backtests for each month 2026. profit goal
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
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
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
MT5 Multi-Market Trading Robot and Signal System
50 - 200 USD
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
Hi all I'm looking for a good coder Existing Automated Trading System (Expert Advisor) This EA’s building block is the Bheurekso Pattern (which uses price action) indicators. 1. **Indicator Integration**: The EA should be developed utilizing the Bheurekso pattern indicator. 2. **Sell Signals**: The EA must execute a sell order upon the appearance of any of the following bearish signals or a down arrow that appears
Request for an Existing Automated Trading System (Expert Advisor) I am looking to acquire an existing, fully functional Expert Advisor (EA) that trades Forex CFDs, with the option of trading other CFDs if the strategy supports them safely. Performance objectives Target average net monthly return: 1.5%. A consistent 1.0% monthly return may be considered if the system demonstrates strong risk control and credible
Project information
Budget
150+ USD
Deadline
from 1 day(s)
Customer
Placed orders2
Arbitrage count0