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
183
25%
Arbitration
25
16% / 76%
Overdue
16
9%
Working
2
Developer 2
Rating
(64)
Projects
144
46%
Arbitration
21
38% / 24%
Overdue
32
22%
Working
3
Developer 3
Rating
(436)
Projects
647
53%
Arbitration
35
63% / 20%
Overdue
7
1%
Working
4
Developer 4
Rating
(21)
Projects
29
41%
Arbitration
8
25% / 38%
Overdue
2
7%
Busy
Published: 8 articles, 35 codes
5
Developer 5
Rating
(34)
Projects
35
40%
Arbitration
0
Overdue
3
9%
Free
6
Developer 6
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Working
Published: 2 codes
7
Developer 7
Rating
(212)
Projects
275
21%
Arbitration
25
52% / 16%
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
10
Developer 10
Rating
(6)
Projects
8
38%
Arbitration
2
50% / 50%
Overdue
2
25%
Free
11
Developer 11
Rating
(556)
Projects
850
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
(1)
Projects
1
0%
Arbitration
0
Overdue
0
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
(2)
Projects
3
67%
Arbitration
0
Overdue
0
Working
Published: 2 codes
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(74)
Projects
97
57%
Arbitration
5
80% / 20%
Overdue
3
3%
Loaded
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(2676)
Projects
3416
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
23
Developer 23
Rating
(60)
Projects
94
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
Similar orders
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
i have indicator for Trading View, also copy for NT, i need someone to improve and check the NT version (indicator is simple is volume density koncept)…. when i put same settings on TV version and NT version i have diffrerent results, but this can be because diffrent market data or fact that TV sending tick info in blocks , not tick by tick like NT8 on both. I(ndicator base on counting volume) so besied that is it
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
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
I am looking for an experienced MQL5 developer who can BOTH research trading strategies and develop a commercial-quality MetaTrader 5 Expert Advisor. This is NOT simply a coding job. The developer is free to choose the trading logic, indicators, entry method, exit method, timeframe architecture and strategy type. I do not require the EA to copy or resemble any existing commercial EA. My priority is: ROBUST LONG-TERM
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured

Project information

Budget
250 - 350 USD
VAT (21%): 52.5 - 73.5 USD
Total: 303 - 423.5 USD
For the developer
225 - 315 USD
Deadline
to 15 day(s)

Customer

Placed orders1
Arbitrage count0