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

MQL5 Experts

Spécifications

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.


Répondu

1
Développeur 1
Évaluation
(107)
Projets
175
25%
Arbitrage
23
13% / 78%
En retard
16
9%
Gratuit
2
Développeur 2
Évaluation
(242)
Projets
285
77%
Arbitrage
13
69% / 0%
En retard
4
1%
Travail
3
Développeur 3
Évaluation
(160)
Projets
169
44%
Arbitrage
3
33% / 33%
En retard
1
1%
Chargé
4
Développeur 4
Évaluation
(2665)
Projets
3396
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
5
Développeur 5
Évaluation
(543)
Projets
824
62%
Arbitrage
33
27% / 45%
En retard
23
3%
Gratuit
Publié : 1 code
6
Développeur 6
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
7
Développeur 7
Évaluation
(279)
Projets
376
72%
Arbitrage
19
32% / 47%
En retard
14
4%
Gratuit
Publié : 14 codes
8
Développeur 8
Évaluation
(5)
Projets
10
10%
Arbitrage
2
0% / 50%
En retard
2
20%
Travail
9
Développeur 9
Évaluation
(2322)
Projets
2925
63%
Arbitrage
123
45% / 25%
En retard
429
15%
Travail
10
Développeur 10
Évaluation
(8)
Projets
11
0%
Arbitrage
7
29% / 71%
En retard
2
18%
Travail
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(47)
Projets
55
33%
Arbitrage
15
27% / 60%
En retard
1
2%
Travail
13
Développeur 13
Évaluation
(250)
Projets
460
26%
Arbitrage
139
20% / 60%
En retard
100
22%
Gratuit
14
Développeur 14
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
15
Développeur 15
Évaluation
(454)
Projets
717
34%
Arbitrage
34
71% / 9%
En retard
22
3%
Gratuit
16
Développeur 16
Évaluation
(7)
Projets
9
0%
Arbitrage
2
0% / 100%
En retard
0
Gratuit
Publié : 1 article
17
Développeur 17
Évaluation
(434)
Projets
635
54%
Arbitrage
32
56% / 22%
En retard
6
1%
Chargé
18
Développeur 18
Évaluation
(258)
Projets
265
29%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
19
Développeur 19
Évaluation
(62)
Projets
90
29%
Arbitrage
24
13% / 58%
En retard
7
8%
Travail
20
Développeur 20
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
21
Développeur 21
Évaluation
(27)
Projets
29
38%
Arbitrage
0
En retard
3
10%
Gratuit
22
Développeur 22
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
23
Développeur 23
Évaluation
(21)
Projets
27
41%
Arbitrage
4
50% / 50%
En retard
1
4%
Travail
24
Développeur 24
Évaluation
(19)
Projets
27
11%
Arbitrage
11
9% / 55%
En retard
12
44%
Gratuit
25
Développeur 25
Évaluation
(24)
Projets
30
30%
Arbitrage
0
En retard
2
7%
Travail
26
Développeur 26
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
27
Développeur 27
Évaluation
(41)
Projets
47
60%
Arbitrage
4
50% / 25%
En retard
0
Travail
28
Développeur 28
Évaluation
(28)
Projets
32
25%
Arbitrage
20
10% / 50%
En retard
10
31%
Travail
29
Développeur 29
Évaluation
(199)
Projets
255
21%
Arbitrage
23
48% / 17%
En retard
0
Travail
30
Développeur 30
Évaluation
(4)
Projets
5
0%
Arbitrage
1
100% / 0%
En retard
1
20%
Chargé
Commandes similaires
Hello, I have two Expert Advisors (EAs) that I'm migrating to my MQL5 VPS. I need a program that I can run on a separate chart or other interface to: - Allow EA #2 (with the magic number) to trade only during the Asian session. Therefore, EA #2 needs to be blocked during all other sessions. - Allow EA #1 to trade without restriction. Thank you
Labouchere System has many series and can transfer the Units to any other Series when needed (this function is very important). Building a dedicated SeriesManager class to handle all eight arrays would be very useful to make the unit transfers "atomic," so the logic is bulletproof and we never have to worry about data errors during the series transitions. The coders who really knows this cancellation sytem can apply
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

Informations sur le projet

Budget
30+ USD