Custom MT5 Prop Firm EA for The5ers – Full Source Code Required

Specification

I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5).

The EA is intended for use on a The5ers $100,000 2-Step prop-firm account.

IMPORTANT DELIVERY REQUIREMENT:
I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable.

The EA must be coded specifically for this project and must not copy trades, use external trading signals or depend on another person's trading account.

━━━━━━━━━━━━━━━━━━

  1. PLATFORM
    ━━━━━━━━━━━━━━━━━━

Platform: MetaTrader 5
Language: MQL5
Account type: Hedge
Primary market: Forex

Initial symbols:

  • EURUSD

  • USDJPY

Timeframe:

  • H1

The symbols and timeframe must be configurable through EA inputs.

━━━━━━━━━━━━━━━━━━
2. TRADING STRATEGY
━━━━━━━━━━━━━━━━━━

Use a simple trend-following breakout strategy.

BUY CONDITIONS:

  1. Use only fully closed H1 candles.

  2. EMA 200 must indicate bullish conditions:
    closing price of the signal candle > EMA 200.

  3. The signal candle must close ABOVE the highest high of the previous 20 completed candles.

  4. There must be no existing open position from this EA.

  5. Spread must be below the configurable maximum spread.

  6. No high-impact news restriction may be active.

  7. Risk-management limits must allow a new trade.

If all conditions are true, open a BUY at the beginning of the next available candle.

SELL CONDITIONS:

  1. Use only fully closed H1 candles.

  2. Closing price of the signal candle must be BELOW EMA 200.

  3. The signal candle must close BELOW the lowest low of the previous 20 completed candles.

  4. There must be no existing open position from this EA.

  5. Spread must be below the configurable maximum spread.

  6. No high-impact news restriction may be active.

  7. Risk-management limits must allow a new trade.

If all conditions are true, open a SELL at the beginning of the next available candle.

The breakout period and EMA period must be configurable inputs.

Default:
Breakout period = 20
EMA period = 200

━━━━━━━━━━━━━━━━━━
3. STOP LOSS AND TAKE PROFIT
━━━━━━━━━━━━━━━━━━

Use ATR(14).

Default Stop Loss:
2.0 × ATR(14)

Take Profit:
2 × initial risk.

Example:

If the stop loss represents 100 points of risk, the take profit is 200 points.

Risk/Reward:
1:2

ATR multiplier and Risk/Reward must both be configurable.

Every live position MUST have a real visible Stop Loss placed with the broker.

NO hidden or stealth Stop Loss.

━━━━━━━━━━━━━━━━━━
4. POSITION SIZE
━━━━━━━━━━━━━━━━━━

Position size must be calculated automatically according to the distance between entry price and Stop Loss.

Default risk:
0.25% of current account balance per trade.

Risk percentage must be configurable.

Lot calculation must respect:

  • symbol tick size

  • tick value

  • minimum lot

  • maximum lot

  • lot step

The EA may never increase risk after a losing trade.

━━━━━━━━━━━━━━━━━━
5. STRICT RISK MANAGEMENT
━━━━━━━━━━━━━━━━━━

The EA must contain an independent account protection module.

Default maximum risk per trade:
0.25%

Maximum simultaneous trades:
1 across all symbols controlled by this EA.

DAILY PROTECTION:

At the beginning of every trading day, store the account balance and equity reference.

If the combined realised and floating P/L for that trading day reaches -1.0%, the EA must:

  1. Close any position opened by the EA.

  2. Cancel pending orders created by the EA.

  3. Block all new trades until the next trading day.

The -1.0% limit must be configurable.

TOTAL DRAWDOWN PROTECTION:

Store the initial account balance when the EA is first activated.

If account equity falls 4.0% below that initial reference, the EA must:

  1. Close all positions created by the EA.

  2. Cancel its pending orders.

  3. Disable new trading.

  4. Require manual reactivation.

The 4.0% level must be configurable.

The risk protection must take priority over trading signals.

━━━━━━━━━━━━━━━━━━
6. PROFIT PROTECTION
━━━━━━━━━━━━━━━━━━

Add an optional configurable daily profit target.

Default:
+0.75% per day.

When reached:

  • do not open additional positions until the next trading day.

Allow this feature to be enabled or disabled.

Also provide a separate “Funded Mode”.

In Funded Mode:
Default daily profit target = +0.50%.

This is intended to reduce large single-day profit concentration.

━━━━━━━━━━━━━━━━━━
7. NEWS FILTER
━━━━━━━━━━━━━━━━━━

Use the MetaTrader 5 Economic Calendar where technically possible.

No new trades around HIGH IMPACT economic news affecting either currency of the trading pair.

Default restriction:

5 minutes BEFORE high-impact news.
5 minutes AFTER high-impact news.

Both periods must be configurable.

Example:

EURUSD:
Block high-impact EUR and USD news.

USDJPY:
Block high-impact USD and JPY news.

Existing positions may remain open unless a risk-management limit requires them to close.

The filter must never deliberately trade news spikes.

━━━━━━━━━━━━━━━━━━
8. TRADING HOURS
━━━━━━━━━━━━━━━━━━

Add configurable trading hours.

Default:

Monday-Friday.

07:00 UTC – 17:00 UTC.

No new trades outside the allowed session.

Use UTC/GMT logic rather than depending blindly on broker server time.

No new trades on Friday after 16:00 UTC by default.

All times must be configurable.

━━━━━━━━━━━━━━━━━━
9. SPREAD PROTECTION
━━━━━━━━━━━━━━━━━━

The EA must check spread before entering.

Maximum spread must be configurable separately for each symbol.

If spread exceeds the configured maximum:
Do not enter.

Do not continuously retry an entry after the original signal is no longer valid.

━━━━━━━━━━━━━━━━━━
10. TRADE MANAGEMENT
━━━━━━━━━━━━━━━━━━

Include configurable options for:

  • Break-even

  • Trailing Stop

Default:

Break-even = OFF
Trailing Stop = OFF

They must be available for later testing and optimization.

The original strategy must work without either feature.

━━━━━━━━━━━━━━━━━━
11. FORBIDDEN METHODS
━━━━━━━━━━━━━━━━━━

The EA must NOT use:

  • Martingale

  • Grid trading

  • Lot multiplication after losses

  • High-frequency trading

  • Tick scalping

  • Latency arbitrage

  • Reverse arbitrage

  • Hedge arbitrage

  • Trade copying

  • External signal copying

  • Account mirroring

  • Emulators

  • Hidden Stop Loss

  • DLL dependency

  • Remote signal server

  • Developer-controlled remote kill switch

  • Monthly subscription dependency

  • Expiration date

  • Account-locked licence after final delivery

The EA must continue functioning independently after final delivery.

━━━━━━━━━━━━━━━━━━
12. DASHBOARD
━━━━━━━━━━━━━━━━━━

Create a simple on-chart dashboard showing:

  • EA status

  • Symbol

  • Current balance

  • Current equity

  • Today's realised P/L

  • Today's floating P/L

  • Daily drawdown %

  • Total drawdown %

  • Current risk per trade

  • Current spread

  • Current ATR

  • News filter status

  • Trading session status

  • Number of EA positions

  • Funded Mode ON/OFF

Buttons:

CLOSE EA TRADES
DISABLE EA
ENABLE EA

The CLOSE button must affect only trades belonging to this EA, identified by Magic Number.

━━━━━━━━━━━━━━━━━━
13. MAGIC NUMBER
━━━━━━━━━━━━━━━━━━

Use a configurable Magic Number.

The EA must recognise and manage only its own positions unless explicitly configured otherwise.

It must not accidentally close or modify unrelated manual trades.

━━━━━━━━━━━━━━━━━━
14. RESTART / VPS SAFETY
━━━━━━━━━━━━━━━━━━

The EA must recover correctly after:

  • MetaTrader restart

  • VPS restart

  • Temporary internet loss

  • Broker connection loss

Important risk-management information must not simply reset after restarting MT5.

Daily and total drawdown protection must continue to work correctly after a restart.

━━━━━━━━━━━━━━━━━━
15. BACKTESTING
━━━━━━━━━━━━━━━━━━

Before final acceptance, provide Strategy Tester results using MT5 “Every tick based on real ticks” where data is available.

Test both:

EURUSD H1
USDJPY H1

Testing period:
At least 2020 through the latest available data.

Include realistic:

  • spread

  • commission

  • execution assumptions

Provide results showing:

  • Net profit

  • Number of trades

  • Win rate

  • Profit factor

  • Expected payoff

  • Maximum balance drawdown

  • Maximum equity drawdown

  • Average trade duration

  • Year-by-year results

DO NOT optimize only to produce the best historical result.

Parameters must also be tested on data that was not used for optimization.

Clearly separate:
IN-SAMPLE testing
and
OUT-OF-SAMPLE testing.

No guarantee of profitability is expected or accepted.

━━━━━━━━━━━━━━━━━━
16. PROP-FIRM RISK TEST
━━━━━━━━━━━━━━━━━━

The developer must specifically test that:

  • Risk calculation works.

  • Daily stop works.

  • Total drawdown stop works.

  • Only one position can be active.

  • EA stops opening trades after limits are reached.

  • Restarting MT5 does not reset protection incorrectly.

  • A real Stop Loss is attached to every trade.

  • News restriction works as specified.

━━━━━━━━━━━━━━━━━━
17. CONFIGURATION
━━━━━━━━━━━━━━━━━━

All important settings must be available through MT5 inputs.

Provide at least two .set files:

  1. Conservative Evaluation Mode

  2. Funded Mode

━━━━━━━━━━━━━━━━━━
18. SOURCE CODE OWNERSHIP
━━━━━━━━━━━━━━━━━━

Final delivery must include:

  • Complete .mq5 source code

  • Compiled .ex5

  • Any include files required to compile the project

  • .set configuration files

  • Installation instructions

The source code must compile without errors.

I must be able to modify and compile the EA myself after delivery.

No part of the EA may rely on source code that the developer refuses to provide unless it is a standard built-in MetaTrader/MQL5 component.

━━━━━━━━━━━━━━━━━━
19. BUG-FIX WARRANTY
━━━━━━━━━━━━━━━━━━

Include 30 days of free bug fixes after final acceptance.

A bug means behaviour that does not comply with this agreed Requirements Specification.

New functionality or strategy changes are not part of the free bug-fix period.

━━━━━━━━━━━━━━━━━━
20. ACCEPTANCE
━━━━━━━━━━━━━━━━━━

I will test the EA on my own MetaTrader 5 demo environment before final acceptance.

The project is accepted only when:

  • source code is delivered

  • source code compiles correctly

  • EA installs and runs correctly

  • risk controls work correctly

  • trading rules match this Requirements Specification

  • required files are delivered

Please include in your application:

  1. Your total fixed price.

  2. Delivery time.

  3. Number of completed MQL5 Expert Advisor projects.

  4. Whether the complete .mq5 source code is included.

  5. Confirmation of the 30-day bug-fix period.

  6. Confirmation that no DLL, subscription, remote licence or external signal service is required.

Responded

1
Developer 1
Rating
(111)
Projects
184
25%
Arbitration
25
16% / 76%
Overdue
16
9%
Free
2
Developer 2
Rating
(64)
Projects
145
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Free
3
Developer 3
Rating
(438)
Projects
649
53%
Arbitration
35
63% / 20%
Overdue
7
1%
Working
4
Developer 4
Rating
(24)
Projects
35
40%
Arbitration
9
22% / 33%
Overdue
5
14%
Loaded
Published: 8 articles, 35 codes
5
Developer 5
Rating
(34)
Projects
35
40%
Arbitration
0
Overdue
3
9%
Free
6
Developer 6
Rating
(5)
Projects
6
83%
Arbitration
0
Overdue
0
Free
Published: 4 codes
7
Developer 7
Rating
(216)
Projects
283
20%
Arbitration
28
57% / 14%
Overdue
0
Working
8
Developer 8
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
10
Developer 10
Rating
(6)
Projects
8
38%
Arbitration
2
50% / 50%
Overdue
2
25%
Free
11
Developer 11
Rating
(566)
Projects
863
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
12
Developer 12
Rating
(10)
Projects
12
33%
Arbitration
0
Overdue
2
17%
Working
Published: 1 code
13
Developer 13
Rating
(24)
Projects
32
38%
Arbitration
4
50% / 25%
Overdue
5
16%
Working
14
Developer 14
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
1
50%
Free
15
Developer 15
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(7)
Projects
9
67%
Arbitration
0
Overdue
0
Working
Published: 1 article, 2 codes
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(81)
Projects
112
56%
Arbitration
6
83% / 17%
Overdue
5
4%
Free
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(2678)
Projects
3428
68%
Arbitration
78
49% / 14%
Overdue
343
10%
Free
Published: 1 code
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 7 codes
23
Developer 23
Rating
(60)
Projects
96
43%
Arbitration
4
0% / 100%
Overdue
4
4%
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(5)
Projects
8
13%
Arbitration
3
0% / 33%
Overdue
2
25%
Free
Published: 1 code
26
Developer 26
Rating
(14)
Projects
23
35%
Arbitration
0
Overdue
2
9%
Free
27
Developer 27
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
(20)
Projects
29
3%
Arbitration
4
0% / 100%
Overdue
5
17%
Free
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
(13)
Projects
14
64%
Arbitration
0
Overdue
0
Free
31
Developer 31
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
32
Developer 32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
33
Developer 33
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
34
Developer 34
Rating
(2)
Projects
4
25%
Arbitration
1
100% / 0%
Overdue
1
25%
Free
Published: 3 codes
35
Developer 35
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
36
Developer 36
Rating
(10)
Projects
15
20%
Arbitration
5
40% / 40%
Overdue
1
7%
Free
37
Developer 37
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
38
Developer 38
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
39
Developer 39
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Working
40
Developer 40
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
41
Developer 41
Rating
(176)
Projects
272
63%
Arbitration
4
50% / 25%
Overdue
10
4%
Working
42
Developer 42
Rating
(371)
Projects
462
56%
Arbitration
24
58% / 17%
Overdue
32
7%
Working
43
Developer 43
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
44
Developer 44
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
45
Developer 45
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 5 codes
46
Developer 46
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
47
Developer 47
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
48
Developer 48
Rating
(25)
Projects
33
18%
Arbitration
6
50% / 33%
Overdue
4
12%
Free
49
Developer 49
Rating
(453)
Projects
566
26%
Arbitration
24
42% / 38%
Overdue
85
15%
Free
Published: 6 codes
50
Developer 50
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
51
Developer 51
Rating
(3)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Free
52
Developer 52
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
53
Developer 53
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
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
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
57
Developer 57
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
58
Developer 58
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
59
Developer 59
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
60
Developer 60
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
61
Developer 61
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
62
Developer 62
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
63
Developer 63
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
64
Developer 64
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
65
Developer 65
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
66
Developer 66
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
67
Developer 67
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
68
Developer 68
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
Similar orders
We’re building our team for an upcoming crypto project and are looking for skilled professionals to help us move development forward. We’re especially interested in developers experienced with React.js and Node.js, with Web3 knowledge being a strong advantage. We plan to launch the MVP by the mid of Dec and complete the project by Christmas. Our budget is $20–$30 per hour, depending on experience and skill level
Metafix 50 - 200 USD
Here is a professional specification you can send directly to your developer. # Project Requirements Specification: MetaTrader 5 Trading Robot Development ### 1. Project Overview I want to develop an automated Forex trading robot (Expert Advisor) for MetaTrader 5 (MT5). The robot should analyse the financial markets, identify trading opportunities, and execute trades automatically based on predefined strategies. ###
1. Platform: MT4 The EA required is not linked, neither depending on trading strategy nor trading signals nor indicators. 2. Initial order is a pending order (buy stop/ sell stop) and it is created manually. It is open for a specified symbol (pair) at a specified price with a specified S/L 3. Example: buy stop 0.1 lot GBPUSD @ 1.3085 WITH S/L @1.3075 Once target price is reached, pending order will
Overview: Build an MT5 Expert Advisor that receives webhook alerts from TradingView (RayAlgo indicator) across three timeframes ( H1, M5, M1 ) for XAUUSD and executes a dual-position strategy when all three conditions align, including strict FTMO server-request limits and automated pre-market-close trade closures. 1. Webhook Receiver & Multi-Timeframe State Logic: H1 Bias State: Updates to BULLISH or BEARISH upon
I am looking for an experienced trading software developer interested in building a long-term working relationship. Im a professional Trader, Coach and Mentor, I work with traders and Student who require customized trading solutions, including automated trading bots, Expert Advisors, custom indicators, trading strategies and other algorithmic trading tools. I am looking for a technically skilled developer who can
Salman serhal 30 - 100 USD
MT5 ICT XAUUSD Sell-Only Trading Robot with Fibonacci Confirmation I am looking for an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5, specifically for trading Gold (XAUUSD). 1. Trading Strategy The robot must use the ICT trading methodology and focus on SELL trades only. The strategy should include: * Identify important resistance and premium zones. * Use Fibonacci retracement
Objective: I am looking for an experienced MQL5 quantitative developer to code an Expert Advisor (EA) from scratch based on a fully defined, rule-based strategy, and then rigorously validate, optimize, and stress-test it before I deploy it on a live VPS environment. Note: The exact mathematical rules, indicator names, and chart screenshots will be shared privately with shortlisted candidates. Strategy Overview
Hi Team We are looking to commission an Expert Advisor (EA) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) . The EA requires tight risk management with a strict $2.00 Stop Loss and a $3.00 to $5.00 Take Profit target. The goal is to achieve a 60%+ Win Rate . Please propose or implement a strategy algorithm capable of meeting the following performance requirements on XAUUSD tick data: Target Performance: $\ge 60\%$ Win
O Trading Ventures 30 - 2000 USD
a trading bot that can open and close trade by its self a stop loss of 1.2 lot size and good tp it should be able to learn trends and learn from its mistakes
Smc 50 - 200 USD
Title: Professional MT5 XAUUSD Multi-Strategy Expert Advisor Developer Needed I am looking for an experienced MQL5 developer to build or improve a fully automated MT5 Expert Advisor for XAUUSD on an Exness hedging account. Requirements: - Five independent trading engines: Rapid, Scalping, Sniper, Trend and Reversal. - Advanced SMC/ICT market structure, liquidity, BOS, CHoCH, order blocks and FVG analysis. - Multiple

Project information

Budget
250 - 350 USD
Deadline
to 15 day(s)