Need a simple Dollar risk manager EA

Specification

Description:

I need a professional MetaTrader 5 developer to build a clean, fully editable Expert Advisor (EA) that strictly controls risk based on dollar-loss thresholds per lot size, and includes hard rules for equity protection and trade limits.

Trade Management Rules

1. Dollar-Based Auto Close (Per Lot Size)
The EA must close each individual XAUUSD trade once its loss in USD reaches a specific threshold tied to the lot size:

Lot Size

Max Dollar Loss

0.01

4 USD

0.02

7 USD

0.03

9 USD

0.04

12 USD

0.05

15 USD

0.06

20 USD

0.07

25 USD

0.08

30 USD

Hard Risk Limits (Live Enforcement)

1. No trade larger than 0.08 lots is allowed
2. No more than 3 trades per lot size
3. No more than 10 total open trades at any time

Strict Trade Lock Mechanism

If the user opens 10 trades (even if some get closed manually or by SL), the system must:
- Block any new trades until all 10 are fully closed
- Only after all 10 trades are closed, the EA allows new trades to be opened

Equity Protection System

1. At 00:00 SAST (UTC+2) daily, the EA must:
- Record that day’s baseline equity
- Reset trade lock and allow fresh trading

2. During the day, if current equity drops by $300 or more compared to the day’s baseline:
- Close all open trades immediately
- Block all new trades until the next 00:00 reset

3. The $300 equity loss threshold must be user-editable

Other Requirements

- The EA must only apply to XAUUSD
- It must function even when trades are placed manually via mobile app or other terminals
- All parameters (dollar thresholds, equity lock, etc.) must be adjustable in the input panel
- The EA must run silently — no alerts, no popups, no GUI
- Code must be fully commented and cleanly structured
- Must compile and run with zero errors/warnings on MT5 Build 5135

Deliverables

- Fully functional DollarRiskManager.mq5 (editable source code)
- Compiled DollarRiskManager.ex5
- All parameters explained
- Step-by-step install instructions

I will test the EA live before releasing funds. Please only apply if you understand and can implement these rules exactly as listed above.

Responded

1
Developer 1
Rating
(21)
Projects
27
41%
Arbitration
3
33% / 67%
Overdue
3
11%
Free
2
Developer 2
Rating
(17)
Projects
21
19%
Arbitration
5
40% / 40%
Overdue
0
Free
3
Developer 3
Rating
(12)
Projects
13
23%
Arbitration
7
0% / 71%
Overdue
3
23%
Working
4
Developer 4
Rating
(185)
Projects
199
47%
Arbitration
4
50% / 25%
Overdue
1
1%
Working
5
Developer 5
Rating
Projects
1
0%
Arbitration
0
Overdue
1
100%
Free
6
Developer 6
Rating
(215)
Projects
280
21%
Arbitration
26
58% / 15%
Overdue
0
Loaded
7
Developer 7
Rating
(12)
Projects
12
17%
Arbitration
2
0% / 50%
Overdue
1
8%
Free
8
Developer 8
Rating
(19)
Projects
31
32%
Arbitration
8
50% / 25%
Overdue
3
10%
Working
9
Developer 9
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
10
Developer 10
Rating
(7)
Projects
8
13%
Arbitration
6
33% / 33%
Overdue
0
Free
11
Developer 11
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
12
Developer 12
Rating
(45)
Projects
46
24%
Arbitration
34
9% / 85%
Overdue
10
22%
Free
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
15
Developer 15
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Free
16
Developer 16
Rating
(5)
Projects
5
60%
Arbitration
1
0% / 0%
Overdue
2
40%
Free
Published: 1 code
17
Developer 17
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
(74)
Projects
84
64%
Arbitration
5
100% / 0%
Overdue
9
11%
Free
19
Developer 19
Rating
(10)
Projects
14
43%
Arbitration
0
Overdue
3
21%
Free
20
Developer 20
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
(1)
Projects
1
0%
Arbitration
2
0% / 0%
Overdue
0
Working
23
Developer 23
Rating
(162)
Projects
289
35%
Arbitration
18
22% / 61%
Overdue
43
15%
Free
Similar orders
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth
Fibonacci Técnicas... Estudos Fibonacci de expansão e retração. Estudos técnicos... Linhas de tendencia, resistência, suporte. Probabilidades... Analises técnicas com indicadores e contextos fundamentalistas Estatística... Analises técnicas com indicadores e contextos fundamentalistas Análise técnica... 6 Operações diárias... Scalpe trader, day trader, swing trader Consultor de técnicas Fibonacci... explicação de
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
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
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 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 - 70 USD
Deadline
from 2 to 5 day(s)