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

MQL5 Experts

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
(107)
Projects
175
25%
Arbitration
23
13% / 78%
Overdue
16
9%
Free
2
Developer 2
Rating
(242)
Projects
285
77%
Arbitration
13
69% / 0%
Overdue
4
1%
Working
3
Developer 3
Rating
(160)
Projects
169
44%
Arbitration
3
33% / 33%
Overdue
1
1%
Loaded
4
Developer 4
Rating
(2665)
Projects
3395
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
5
Developer 5
Rating
(543)
Projects
824
62%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
Published: 1 code
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(279)
Projects
376
72%
Arbitration
19
32% / 47%
Overdue
14
4%
Free
Published: 14 codes
8
Developer 8
Rating
(5)
Projects
10
10%
Arbitration
2
0% / 50%
Overdue
2
20%
Working
9
Developer 9
Rating
(2322)
Projects
2925
63%
Arbitration
123
45% / 25%
Overdue
429
15%
Working
10
Developer 10
Rating
(8)
Projects
11
0%
Arbitration
7
29% / 71%
Overdue
2
18%
Working
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(47)
Projects
55
33%
Arbitration
15
27% / 60%
Overdue
1
2%
Working
13
Developer 13
Rating
(250)
Projects
460
26%
Arbitration
139
20% / 60%
Overdue
100
22%
Free
14
Developer 14
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
15
Developer 15
Rating
(454)
Projects
717
34%
Arbitration
34
71% / 9%
Overdue
22
3%
Free
16
Developer 16
Rating
(7)
Projects
9
0%
Arbitration
2
0% / 100%
Overdue
0
Free
Published: 1 article
17
Developer 17
Rating
(434)
Projects
635
54%
Arbitration
32
56% / 22%
Overdue
6
1%
Loaded
18
Developer 18
Rating
(258)
Projects
265
29%
Arbitration
0
Overdue
3
1%
Free
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
(27)
Projects
29
38%
Arbitration
0
Overdue
3
10%
Free
22
Developer 22
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(21)
Projects
27
41%
Arbitration
4
50% / 50%
Overdue
1
4%
Working
24
Developer 24
Rating
(19)
Projects
27
11%
Arbitration
11
9% / 55%
Overdue
12
44%
Free
25
Developer 25
Rating
(24)
Projects
30
30%
Arbitration
0
Overdue
2
7%
Working
26
Developer 26
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
(41)
Projects
47
60%
Arbitration
4
50% / 25%
Overdue
0
Working
28
Developer 28
Rating
(28)
Projects
32
25%
Arbitration
20
10% / 50%
Overdue
10
31%
Working
29
Developer 29
Rating
(199)
Projects
255
21%
Arbitration
23
48% / 17%
Overdue
0
Working
30
Developer 30
Rating
(4)
Projects
5
0%
Arbitration
1
100% / 0%
Overdue
1
20%
Loaded
Similar orders
Project Overview I need an MQL5 developer to review and confirm their understanding of this project before providing a quote. Objective: Backtest an Opening Range Breakout (ORB) strategy on NAS100USD and generate detailed trade documentation. Requirements: Instrument NAS100USD only. Backtesting Run the ORB strategy on historical data. Target a minimum of 200 trades if the available data allows. Advise how much
Looking to buy profitable MT4/MT5 Expert Advisors (EAs). Requirements: • Fully automated • 6+ months backtest • 100+ trades • No martingale or grid systems Send: • Backtest report • Max drawdown • Markets traded • Brief strategy summary Only original EAs developed by you. Long-term collaboration available
Hi, We are an experienced team of quants with products top ranked in MQL5 but who needs to gain audience on 10K+ communities to advertise EA to get more traffic on mql5. Thanks
We are looking to purchase Expert Advisors (EAs) for MetaTrader 4 and MetaTrader 5. Requirements: -Minimum 6 months of history (12+ months preferred). -Forex pairs, Gold (XAUUSD), Indices, Commodities, or Crypto CFDs are all acceptable. -Fully automated. -No martingale. -No grid systems. -No lot multiplication or position size scaling based on previous wins or losses. -Not dependent on extremely low spreads/slippage
DESCRIPTION: I require an experienced MQL5 developer to build a fully automated, multi‑engine, multi‑asset trend‑following trading system for MetaTrader 5. The system includes: Multiple TrendEngine instances (one per symbol) A PortfolioController that manages all engines Volatility‑regime detection Dual‑timeframe confirmation ATR‑based breakout logic ATR‑based stop management Micropyramiding Risk‑weighted satellites
Description: I need a semi-automatic Expert Advisor (EA) developed for MetaTrader 5 (Hedging account, optimized for Exness Cent accounts) to manage my manual trades on Gold (XAUUSD) using a positive pyramiding trend-following strategy. Detailed Specifications: 1. Multi-Basket Management (Crucial): The EA does NOT open the initial trade. It waits for me to open a manual trade (Buy or Sell). If I open another manual
Live chart [ expert is not executing trades on xauusd ] , Deleting Existing Parameter not in use , Live Chart Adjustments Only , No Need to Change anything else , expert will be live testing Throughout
El 3aksiyat 0 35+ USD
//@version=6 indicator("منظومة El_3aksiiya 0 المتكاملة", overlay=true, max_labels_count=500, max_boxes_count=500, max_lines_count=500) // الألوان color_accum = color.new(#0000FF, 85) color_manip = color.new(#FFFF00, 80) color_dist = color.new(#FFC0CB, 80) color_elliot = #FF8C00 color_fib = #FFFF00 color_entry = #00FFFF color_tp = #00FF00 rsiVal = ta.rsi(close, 14) // نموذج AMD var int barCount = 0 if
Prepare expert for xauusd live chart [ expert is not executing trades on xauusd ] . Deletion and cleaning code . Trailing Stop Rule to follow the given method . Live Chart Only
SNIPER X AI 30 - 120 USD
I need help in building a Robot SNIPER X AI — FINAL BUILD Trading System Type AI Scalping + Sniper Entry Expert Advisor Platforms MetaTrader 4 MetaTrader 5 Supported Brokers � exness.com � justmarkets.com � deriv.com Universal MT4/MT5 broker support FINAL CORE FEATURES ✅ AI Scalping Engine ✅ Sniper Entries ✅ Auto Buy/Sell ✅ EMA Trend Detection ✅ RSI Momentum Filter ✅ Smart Stop Loss ✅ Dynamic Take Profit ✅ Trailing

Project information

Budget
30+ USD