I need to Add Money Management System and Recovery System in my EA.

MQL5 Experts

Job finished

Execution time 2 days
Feedback from customer
Good Job, and very helping guy.

Specification

Money Management System

The Money Management System provides two modes for determining trade lot sizes: Fixed Lot Size and Variable Lot Size.
Inputs
Lot Size = Fixed or Variable
Recovery System = True or False
Compounding = True of False

1. Fixed Lot Size

In Fixed Lot Size mode, all trades are opened using a predefined lot size selected by the user through the EA inputs. The selected lot size remains constant for every trade.

The only exception is when the Recovery System is enabled. In such cases, recovery trades will use a different lot size calculation method based on the recovery settings.

2. Variable Lot Size

Variable Lot Size is based on a percentage-driven money management model. The lot size is automatically calculated using the following factors:

Account Balance Which is added in inputs not broker balance.

Trade Size (Stop Loss in pips)

Selected Gain Percentage (Gain means profit here we will focus on profit)

For example, if the selected gain percentage is 1%, the trade size is 10 pips, and the account balance is $1,000, the system will calculate the appropriate lot size required to achieve the specified target percentage.

The calculation will be based on selected balance that we will add manually in inputs.

If compounding is on then will be select on equity

Recovery System

The Recovery System is an optional feature that can be enabled or disabled through the EA inputs.

When enabled, any trade that closes in loss will activate Recovery Mode. The next trade will be treated as a recovery trade. If additional losses occur, all consecutive losses are accumulated and carried forward until the recovery cycle is completed.

Recovery trades continue until the total accumulated losses have been recovered.

Recovery Lot Size Calculation

The recovery target is calculated as:

Recovery Target = Total Previous Losses + Expected Profit from the Next Trade

If multiple consecutive losing trades occur, all losses are accumulated and included in the recovery calculation.

Example

l  Trade 1 Loss = -$50

l  Trade 2 Loss = -$30

l  Trade 3 Loss = -$20

l  Total accumulated loss = -$100

The next recovery trade will calculate its lot size based on recovering the $100 loss plus the profit target defined for the new trade.


Responded

1
Developer 1
Rating
(111)
Projects
183
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Free
2
Developer 2
Rating
(260)
Projects
305
76%
Arbitration
13
77% / 0%
Overdue
5
2%
Loaded
3
Developer 3
Rating
(178)
Projects
191
46%
Arbitration
4
25% / 25%
Overdue
1
1%
Busy
4
Developer 4
Rating
(2676)
Projects
3414
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
5
Developer 5
Rating
(553)
Projects
844
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(279)
Projects
378
72%
Arbitration
19
32% / 47%
Overdue
16
4%
Free
Published: 15 codes
8
Developer 8
Rating
(9)
Projects
16
19%
Arbitration
2
0% / 50%
Overdue
3
19%
Loaded
9
Developer 9
Rating
(2346)
Projects
2952
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
10
Developer 10
Rating
(8)
Projects
11
0%
Arbitration
8
25% / 75%
Overdue
2
18%
Free
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(52)
Projects
64
39%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
13
Developer 13
Rating
(252)
Projects
462
26%
Arbitration
139
20% / 60%
Overdue
100
22%
Free
14
Developer 14
Rating
(78)
Projects
246
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
15
Developer 15
Rating
(455)
Projects
721
34%
Arbitration
35
71% / 9%
Overdue
23
3%
Free
16
Developer 16
Rating
(13)
Projects
14
36%
Arbitration
3
0% / 100%
Overdue
0
Free
Published: 1 article
17
Developer 17
Rating
(435)
Projects
642
53%
Arbitration
35
63% / 20%
Overdue
6
1%
Working
18
Developer 18
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
19
Developer 19
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(34)
Projects
35
40%
Arbitration
0
Overdue
3
9%
Free
22
Developer 22
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(29)
Projects
36
44%
Arbitration
4
50% / 50%
Overdue
3
8%
Free
24
Developer 24
Rating
(19)
Projects
27
11%
Arbitration
11
9% / 55%
Overdue
12
44%
Free
25
Developer 25
Rating
(28)
Projects
34
35%
Arbitration
0
Overdue
2
6%
Working
26
Developer 26
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
(70)
Projects
88
58%
Arbitration
6
67% / 17%
Overdue
2
2%
Loaded
28
Developer 28
Rating
(29)
Projects
33
27%
Arbitration
20
10% / 50%
Overdue
11
33%
Free
29
Developer 29
Rating
(210)
Projects
273
21%
Arbitration
24
54% / 17%
Overdue
0
Working
30
Developer 30
Rating
(10)
Projects
16
50%
Arbitration
1
100% / 0%
Overdue
4
25%
Free
Similar orders
I’m looking for an experienced developer who can build a Martingale trading bot. I’m willing to pay a fair price for the right developer. I have an example trading account that demonstrates exactly how I want the bot to operate. The strategy is straightforward: the bot trades continuously using a Martingale system. The only exception is that it should automatically pause trading during high-impact news events or
This is a Tradingview project. Would you be able to make this? With a win rate and profit factor and percentage made and profit made and max dd reached. How many modifications would I be able to do? Could there be a table that shows win percentage profit factor and trading window where trades shouldn’t be placed and follows the rules of the pdf How long would it take and would it work on ninjatrader also
I need a professional MQL5 developer to build a high-frequency trading (HFT) Expert Advisor for MT5. Key Requirements & Risk Management Rules: 1. Max Trade Limit: The bot must execute a strict maximum of 1,000 trades. 2. Lot Size Cap: Every trade must be capped at a maximum of 0.50 lots. 3. Execution Speed: Optimized for low-latency, rapid execution. 4. Clean code with proper error handling and clear parameter
I need fully automatic scalping robots for XAUUSD Gold the robot should work on M1 and M5 timeframe and open trades based on the scalping logic using EMA and RSI confirmation it should analyze the market on its own and only take high probability trades
I am looking for an experienced MQL5 / MetaTrader 5 developer to help me add alert notifications to an existing MT5 indicator. What I Have I have an indicator that I am currently using on MetaTrader 5 , but I do not have the source code (.mq5) . I only have the compiled indicator file, or I can provide the indicator file that I currently have. What I Need I want to add alerts when the indicator generates its specific
I need best scalping bot 150 - 300 USD
I have attached the video of the EA I want to reproduce in MQL5. Please study the video carefully and build an EA that follows the same trading behavior shown in it. The EA is for XAUUSD (Gold) and appears to use an automated scalping/grid-style strategy with multiple positions opened around the market price. I want the entry sequence, spacing between positions, lot progression, direction of trades, and
New EA for Moj1367 50 - 100 USD
//@version=6 strategy("Ultimate + 11 Filters Bot [M1 - 0.5 pip TP]", overlay=true, max_boxes_count=500, max_labels_count=500, max_lines_count=500, max_bars_back=5000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, initial_capital=1000, commission_type=strategy.commission.percent, commission_value=0.04) // ═══════════════════════════════════════════════════════════ // 1. تنظیمات ورودی (Inputs)
I need an MT5 EA (MQL5) specifically for XAUUSD, trading price gaps when the market opens/reopens. The EA needs 2 independent strategies: 1. Weekend/Monday Gap: Record the last price before the market closes for the weekend and the first price when XAUUSD reopens at the beginning of the week. Calculate the gap size. When the gap meets the required conditions, the EA trades in the direction of the Gap Fill. Gap Up →
Best performing EA MT5 30 - 1000 USD
I am looking for a reliable MQL4/MQL5 EA that creates orders automatically. If anyone has a good-performing EA available for sale, please share it with verified live trading results or a genuine live track record . I am ready to purchase, but live performance proof is mandatory . Please share the live account results, trading history, and EA details before discussing the purchase
Hi In my current EA, you must edit this robot in an Instagram-based mode to construct robots. My old Robot Pending Order is designed to put merely in order, making it easy to update. I've included a link to the rar file, which is plainly referenced in the video. The strategy behind this work is detailed, as are the Instagram videos that are linked to the chart. As shown in this Instagram video link, we need a robot

Project information

Budget
30+ USD