Conservative MT5 trend-following EA with strict 5% drawdown control

Specification

Purpose
Develop a transparent and conservative Expert Advisor for MetaTrader 5. Profit is not guaranteed; acceptance is based on correct implementation, risk controls and reproducible testing.

1. Platform and instruments
- Native MQL5 Expert Advisor for MetaTrader 5.
- Symbols: EURUSD and USDJPY.
- Working timeframe: H1. Higher-timeframe trend filter: H4.
- Must support standard broker symbol suffixes/prefixes and both netting and hedging accounts.

2. Entry logic
Long:
- The last completed H4 candle closes above EMA(200).
- The last completed H1 candle closes above the highest high of the previous 20 completed H1 candles.
Short: exact opposite conditions.
- Signals must use completed candles only. No repainting or look-ahead.
- One position per symbol and no more than two positions total.

3. Exit logic
- Initial stop loss: 2 x ATR(14) on H1.
- Initial take profit: 3 x ATR(14) on H1.
- Configurable ATR trailing stop activated after profit reaches 1 x ATR.
- All periods and multipliers must be external input parameters.

4. Mandatory risk controls
- Default risk per trade: 0.25% of current equity, calculated from actual stop distance and symbol properties.
- Daily equity loss limit: 1%. When reached, close positions opened by the EA and block new trades until the next broker day.
- Total drawdown limit: 5% from the highest recorded equity since EA start. When reached, close EA positions and disable new trading until manual reset.
- The 5% control must persist after terminal/VPS restart.
- No martingale, grid, averaging down, recovery mode or increasing risk after losses.
- Protection for invalid lot size, insufficient margin, maximum spread and slippage.
- Developer must disclose that gaps/slippage can make actual loss exceed a programmed threshold.

5. Filters and controls
- Configurable trading days and trading session.
- Configurable maximum spread for each symbol.
- Optional high-impact news filter using the built-in MQL5 Economic Calendar for USD, EUR and JPY, with configurable pause before/after news.
- Magic Number, order comment and emergency Close All / Disable Trading button.
- On-chart panel: equity, current daily loss, peak-to-equity drawdown, open risk, EA status and reason trading is blocked.

6. Deliverables
- Full editable source code (.mq5) and compiled file (.ex5).
- No DLL, remote server, hidden dependency, account lock, expiry date or developer-controlled licence.
- Clean compilation with zero errors and zero warnings.
- Installation guide and explanation of every input parameter.
- Detailed journal messages for signals, rejected entries and risk-limit events.

7. Testing and validation
- Backtests for EURUSD and USDJPY from 01.01.2018 to the latest available date, using Every tick based on real ticks, variable spread, commission and realistic execution settings.
- Separate periods: development 2018-2023; out-of-sample validation 2024-latest.
- Provide HTML test reports, settings files and exact broker/data source used.
- Provide results with fixed 0.25% risk. Do not optimize lot size to manufacture profit.
- No acceptance requirement based on a promised monthly return.
- Demonstrate that daily 1% and total 5% risk blocks work in the Strategy Tester.

8. Acceptance
- Source code and files delivered through MQL5 Freelance.
- EA behavior matches this specification on a demo account and in Strategy Tester.
- Buyer receives one correction round for specification-related defects found within 14 days after delivery.
- Deadline: 10-14 calendar days.

Responded

1
Developer 1
Rating
(622)
Projects
726
34%
Arbitration
47
49% / 40%
Overdue
14
2%
Loaded
2
Developer 2
Rating
(1)
Projects
3
0%
Arbitration
0
Overdue
0
Working
3
Developer 3
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
4
Developer 4
Rating
(398)
Projects
516
23%
Arbitration
61
57% / 25%
Overdue
60
12%
Working
5
Developer 5
Rating
(319)
Projects
571
35%
Arbitration
83
31% / 45%
Overdue
206
36%
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(34)
Projects
35
40%
Arbitration
0
Overdue
3
9%
Free
8
Developer 8
Rating
(20)
Projects
28
39%
Arbitration
8
25% / 38%
Overdue
2
7%
Loaded
Published: 8 articles, 35 codes
9
Developer 9
Rating
(182)
Projects
196
46%
Arbitration
4
50% / 25%
Overdue
1
1%
Loaded
10
Developer 10
Rating
(3)
Projects
9
67%
Arbitration
0
Overdue
0
Working
11
Developer 11
Rating
(369)
Projects
455
55%
Arbitration
24
54% / 17%
Overdue
31
7%
Loaded
12
Developer 12
Rating
(13)
Projects
22
41%
Arbitration
8
0% / 50%
Overdue
3
14%
Free
13
Developer 13
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 5 codes
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(22)
Projects
29
3%
Arbitration
4
25% / 0%
Overdue
3
10%
Free
18
Developer 18
Rating
(261)
Projects
307
76%
Arbitration
13
77% / 0%
Overdue
5
2%
Loaded
19
Developer 19
Rating
(54)
Projects
66
41%
Arbitration
15
27% / 60%
Overdue
1
2%
Loaded
20
Developer 20
Rating
(9)
Projects
11
27%
Arbitration
0
Overdue
2
18%
Working
Published: 1 code
21
Developer 21
Rating
(25)
Projects
33
18%
Arbitration
6
50% / 33%
Overdue
4
12%
Free
22
Developer 22
Rating
(6)
Projects
8
38%
Arbitration
1
100% / 0%
Overdue
2
25%
Free
23
Developer 23
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
24
Developer 24
Rating
(59)
Projects
92
42%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
25
Developer 25
Rating
(64)
Projects
144
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
Similar orders
I am looking for an experienced MQL5 developer to research, develop, and integrate a Smart Early Exit system into my existing XAUUSD EA. The EA is already fully functional. The objective of this job is not to redesign the strategy or modify the entry logic , but to improve how losing trades are managed. The Early Exit system should identify trades that are showing signs of genuine deterioration and close them before
I’m looking for someone with experience developing Expert Advisors for MetaTrader 5, particularly someone who has a strong understanding of arbitrage, mean reversion, multi-pair trading, and simultaneous order execution. I’m looking to develop an MT5 EA based on a triangular arbitrage strategy that identifies price discrepancies between three related currency pairs and automatically executes trades when the
I am looking for an experienced MQL5 developer to build a fully automated MT5 Expert Advisor for XAUUSD. The trading rules are already defined. I need the developer to implement them accurately in MQL5, not redesign the strategy. Main requirements: XAUUSD Multi-timeframe logic: H1 direction, M15 setup, M5 entry Entry only after candle-close confirmation No repainting / closed-bar logic Configurable Stop Loss and Take
I have an existing order-flow engine for NinjaTrader 8, approximately 25,000 lines of C# code, currently using Rithmic Level 2 data. It detects absorption, iceberg orders, and other order-flow signals. We have also developed an initial bridge prototype ourselves and tested parts of the R|Trader Pro to NinjaTrader connection workflow, but we have not yet established a working MBO data connection. I am specifically
Hi, I have developed an MT5 Expert Advisor called SRX which latest version is R24b47 , and I am looking for an experienced MQL5/MT5 EA developer to perform a thorough technical investigation, fixing and optimization of the EA. 1. The main problem SRX is not stable across different market periods . It can perform extremely well during one period, but the same EA/configuration can perform very poorly or approach Margin
I have the Fisher Indicator shown below the chart. I need an alert added for when the Fisher Indicator hits the 50 point at the end of each period. GBPUSD and EURUSD 4H charts are provided and I can provide additional
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop
Hey guys, I’ve got an MT4 HFT EA that’s showing strong results on an IC Markets demo account, and I'm looking to move it over to MT5. Does anyone have a solid MT5 version that performs well on IC Markets? Having the source code (MQL5) included would be awesome. Thanks for any leads
Let’s use Chart M3. Stochastic 8,3,3. 85/15 trigger for sell stochastic >85, and the reversal move need to engulf the last bar for 1 point. SL over the engulfed bar. Same trigger for buys… Stochastic <15, engulfed bar by 1 point = entrance. SL under the engulfed bar… more details as soon we start to work on it
Scalping EA/straddle 30 - 200 USD
Title: Custom EA: Dynamic Trailing Limit Grid with Volatility/Velocity Filter and Auto SL/TP Description: I am looking for an experienced MQL5 programmer to develop a high-performance, robust Expert Advisor (EA) for MetaTrader 5. The strategy relies on dynamic trailing limit orders that automatically adjust to market price changes, featuring a safety buffer during high-velocity price spikes. The EA must include the

Project information

Budget
200 - 300 USD
Deadline
from 10 to 14 day(s)

Customer

Placed orders1
Arbitrage count0