MT5 Trading EA — EMA/RSI Strategy with Risk Management and Trade Protection

MQL5 Experts

Specification

MT5 Trading EA — EMA/RSI Strategy with Risk Management and Trade Protection

Hello,

I'm looking for an experienced MQL5 developer to build a reliable Expert Advisor for MetaTrader 5 based on a simple trend-following strategy.

My main priority is not adding as many features as possible. I want a clean, dependable EA that follows the specified rules consistently in both Strategy Tester and live/demo trading.

1. Trading Strategy

Platform: MetaTrader 5 (MQL5)

Default symbol: EURUSD

Default timeframe: M15 (configurable)

Indicators:

  • EMA 50 — trend filter

  • EMA 200 — long-term trend filter

  • RSI 14 — entry confirmation

BUY conditions:

  • EMA 50 is above EMA 200.

  • RSI crosses upward through level 40.

  • All conditions must be confirmed using closed candles.

SELL conditions:

  • EMA 50 is below EMA 200.

  • RSI crosses downward through level 60.

  • All conditions must be confirmed using closed candles.

The EA should evaluate signals once per completed candle and execute at the next available market tick.

No repainting, future-looking data or intrabar signal changes.

2. Position and Risk Management

  • Configurable fixed lot size or percentage-based risk per trade.

  • Default risk: 1% of account balance.

  • Configurable Stop Loss and Take Profit.

  • Default SL: 300 points; TP: 600 points.

  • Maximum one open EA position per symbol.

  • No martingale, grid, averaging or recovery trading.

Risk-based lot sizing must account for symbol specifications, broker lot restrictions and the configured Stop Loss distance.

3. Trade Protection

  • Optional break-even: move SL to entry price when profit reaches 1R.

  • Optional trailing stop: activate at 1.5R, with configurable trailing distance.

  • Spread filter to prevent entries when the spread exceeds the configured maximum.

  • Configurable trading session using broker server time.

The EA should respect broker stop-level restrictions and avoid unnecessary order modifications.

4. Reliability

I am particularly concerned about duplicate trades, inconsistent entry timing and differences between backtesting and live operation.

Please ensure:

  • One execution attempt per confirmed signal.

  • No repeated entries from the same candle.

  • Clear handling of trade execution errors.

  • Proper Magic Number filtering.

  • Compatibility with standard MT5 broker environments.

5. Deliverables

  • Full MQ5 source code and compiled EX5.

  • Clearly organized and configurable input parameters.

  • MT5 Strategy Tester demonstration using EURUSD M15.

  • Brief installation and usage guide.

  • Source must compile without errors or warnings.

No profitability guarantee or extensive strategy optimization is required. I mainly want to verify correct implementation and stable EA behavior.

6. What I Expect From the Developer

I would appreciate a developer who can do more than simply code the requirements.

Please briefly explain:

  • Your approach to ensuring reliable closed-candle signals and preventing duplicate trades.

  • How you would validate risk calculation and trade management.

  • Any important technical concern or improvement you would recommend before development.

I prefer a practical, maintainable solution rather than unnecessary complexity.

Please provide your proposed fixed price and realistic delivery time.

Thank you.


Responded

1
Developer 1
Rating
(264)
Projects
310
75%
Arbitration
15
67% / 0%
Overdue
6
2%
Working
2
Developer 2
Rating
(102)
Projects
124
31%
Arbitration
7
29% / 29%
Overdue
5
4%
Loaded
3
Developer 3
Rating
(51)
Projects
71
37%
Arbitration
4
25% / 75%
Overdue
1
1%
Free
Published: 1 code
4
Developer 4
Rating
(401)
Projects
519
24%
Arbitration
61
57% / 25%
Overdue
60
12%
Loaded
5
Developer 5
Rating
(100)
Projects
139
51%
Arbitration
5
40% / 60%
Overdue
0
Working
6
Developer 6
Rating
(559)
Projects
853
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(45)
Projects
63
52%
Arbitration
5
0% / 40%
Overdue
1
2%
Free
9
Developer 9
Rating
(43)
Projects
49
29%
Arbitration
4
25% / 25%
Overdue
0
Free
10
Developer 10
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(10)
Projects
17
18%
Arbitration
2
0% / 50%
Overdue
3
18%
Loaded
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(852)
Projects
1469
72%
Arbitration
123
28% / 47%
Overdue
360
25%
Working
Published: 3 articles
15
Developer 15
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Working
Published: 2 codes
16
Developer 16
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
17
Developer 17
Rating
(2350)
Projects
2956
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
18
Developer 18
Rating
(2)
Projects
2
100%
Arbitration
0
Overdue
0
Working
Published: 2 codes
19
Developer 19
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
20
Developer 20
Rating
(268)
Projects
603
34%
Arbitration
65
22% / 57%
Overdue
146
24%
Working
Published: 1 article, 22 codes
21
Developer 21
Rating
(369)
Projects
459
55%
Arbitration
24
58% / 17%
Overdue
31
7%
Free
22
Developer 22
Rating
(3)
Projects
9
67%
Arbitration
0
Overdue
0
Working
23
Developer 23
Rating
(213)
Projects
276
21%
Arbitration
25
52% / 16%
Overdue
0
Working
24
Developer 24
Rating
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(2676)
Projects
3419
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
27
Developer 27
Rating
(5)
Projects
5
20%
Arbitration
0
Overdue
0
Working
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
31
Developer 31
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
32
Developer 32
Rating
(3)
Projects
3
0%
Arbitration
0
Overdue
0
Free
33
Developer 33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
34
Developer 34
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
35
Developer 35
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
36
Developer 36
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
37
Developer 37
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
38
Developer 38
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article, 1 code
39
Developer 39
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
40
Developer 40
Rating
(4)
Projects
5
60%
Arbitration
0
Overdue
0
Working
Published: 2 codes
41
Developer 41
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
42
Developer 42
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
43
Developer 43
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
44
Developer 44
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
45
Developer 45
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
46
Developer 46
Rating
(29)
Projects
35
37%
Arbitration
0
Overdue
2
6%
Working
47
Developer 47
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
48
Developer 48
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
49
Developer 49
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
50
Developer 50
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
51
Developer 51
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
52
Developer 52
Rating
(1)
Projects
2
0%
Arbitration
2
0% / 100%
Overdue
0
Working
53
Developer 53
Rating
(89)
Projects
254
78%
Arbitration
9
22% / 56%
Overdue
36
14%
Working
Published: 3 articles, 26 codes
54
Developer 54
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
55
Developer 55
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
56
Developer 56
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
57
Developer 57
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
58
Developer 58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
59
Developer 59
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
60
Developer 60
Rating
(16)
Projects
30
40%
Arbitration
3
33% / 67%
Overdue
7
23%
Working
61
Developer 61
Rating
(169)
Projects
264
62%
Arbitration
4
50% / 25%
Overdue
10
4%
Free
62
Developer 62
Rating
(64)
Projects
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
Similar orders
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
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
Hi All developers, I am looking for a EA which makes minimum 1:5 risk reward ratio with buy stop and sell stop orders placed based on candle open based or candle high low based or any other strategy .... If any having please share it for TEST, After proper TESTING only I will confirm the job... Please read this and respond
I’m looking for an experienced Pine Script developer to build a custom H1 price-action indicator. Requirements: Calculate levels using H1 candles only. Use New York RTH (9:30 AM–4:00 PM), excluding extended hours. Create horizontal levels when candle direction changes; dojis break the sequence. Invalidate levels only when an H1 candle body crosses them, not wicks. Confirm levels after the RTH session closes to
MT5 to DxTrade, MT5 to NinjaTrader 8, MT5 to Tradovate - Does anyone have a working copy trading system for this - like already existing system for any of this platforms, don’t want dev saying they will build one, I want copier already working - MT5 to DxTrade (Good), To Tradovate and NT8 might be complex as they are future based. That is why I asked for working system and code. Deliver demo - with a week limit if
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
Hi All, I am looking for a EA which makes good profit, If any having please share it for TEST, After proper TESTING only I will make the payment, no cheating no fraud, Please do not waste the time also
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
Mt5 to mt5 copier 30 - 50 USD
Hi Team i am looking for the copier, to copy trades to and mt5 broker where the EA Trading is Disabled. when we setup a market trade copiers, it alerts EA Trading is Disabled by the broker. can we develop the copy trading EA which and operate in this environment

Project information

Budget
30+ USD

Customer

Placed orders2
Arbitrage count0