MQL5: Development of a Core Risk Management Module (FIXED MAX LOSS PER TRADE GUARANTEE)

Job finished

Execution time 1 day
Feedback from customer
Exceptional developer. Delivered a flawless code module ahead of schedule. Deep understanding of complex risk logic. Highly recommended. Will hire again for the next phase immediately.

Specification

Project Overview:
We are seeking a highly skilled MQL5 developer to create a core, standalone Money Management (MM) module. This is *not* a request for a full trading strategy, but a fundamental safety component that must be mathematically precise and error-free.

The primary objective is to implement a robust FIXED MAX LOSS PER TRADE function, which is the cornerstone of our capital preservation strategy.

Phase 1 Requirements (Non-Negotiable):

1.  Fixed Max Loss Guarantee (Core Function): The module must calculate the precise lot size for *any* given trade (BUY/SELL) based on two user-defined inputs:
    *   Input A (Safety): User-defined MAXIMUM DOLLAR/EURO LOSS per trade (e.g., $50, €100).
    *   Input B (Exit): The actual, dynamic distance to the trade's Stop Loss (SL) level in points/pips.
    
    The resulting Lot Size must GUARANTEE that if the SL is hit, the realized loss is EXACTLY the value of Input A (Max Loss).

2.  Precision Calculation: The calculation must accurately account for the instrument's Point Value (currency conversion) to ensure dollar/euro precision.

3.  Broker Compatibility: The module must work seamlessly on ECN/STP accounts and accurately handle dynamic Stop Loss distances.

Key Developer Filter (Mandatory Question for Application):

*   Crucial Test: We require an explicit confirmation that the developer understands that the Lot Size must be inversely proportional to the Stop Loss distance (i.e., a wider SL must result in a smaller lot size to maintain the fixed dollar risk).
*   The Problem We Are Solving: The developer must confirm they understand that we are avoiding the fatal flaw in public EAs where "Risk %" is merely a Lot Multiplier unlinked to the SL.

Budget: $200 - $350 (Depending on complexity and developer rating)

Timeline:
 5-7 Days for initial module delivery.

Next Steps: Please provide a brief explanation of how you would approach the lot sizing calculation (the formula/method you would use). We will only proceed with developers who clearly understand the FIXED MAX LOSS principle.

Responded

1
Developer 1
Rating
(295)
Projects
368
30%
Arbitration
37
27% / 65%
Overdue
10
3%
Working
Published: 10 codes
2
Developer 2
Rating
(12)
Projects
13
8%
Arbitration
1
0% / 100%
Overdue
0
Free
3
Developer 3
Rating
(47)
Projects
71
56%
Arbitration
1
0% / 0%
Overdue
7
10%
Free
4
Developer 4
Rating
Projects
1
0%
Arbitration
0
Overdue
1
100%
Free
5
Developer 5
Rating
(60)
Projects
96
43%
Arbitration
4
0% / 100%
Overdue
4
4%
Free
6
Developer 6
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
7
Developer 7
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
8
Developer 8
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
9
Developer 9
Rating
(16)
Projects
21
29%
Arbitration
2
50% / 0%
Overdue
4
19%
Free
10
Developer 10
Rating
(1)
Projects
2
0%
Arbitration
2
0% / 50%
Overdue
0
Free
11
Developer 11
Rating
(191)
Projects
205
47%
Arbitration
4
50% / 25%
Overdue
1
0%
Loaded
12
Developer 12
Rating
(642)
Projects
750
35%
Arbitration
50
52% / 38%
Overdue
14
2%
Working
13
Developer 13
Rating
(252)
Projects
462
26%
Arbitration
139
20% / 60%
Overdue
100
22%
Free
Similar orders
Входные параметры: Первая валютная пара Вторая валютная пара Расчетная пара Цена для расчета - Bid/Ask Пункт 3 не является входным параметром, это просто результат деления курсов из п.1 и п.2, выводится на график для ознакомления. Принцип действия: Суть идеи в том, что если взять две валютные пары с одинаковым знаменателем (желательно какие-нибудь популярные), например EUR/USD и GBP/USD, и поделить друг на друга их

Project information

Budget
150 - 250 USD
Deadline
from 5 to 10 day(s)