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

MQL5 Experts

Tâche terminée

Temps d'exécution 2 jours
Commentaires du client
Good Job, and very helping guy.

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
(111)
Projets
183
25%
Arbitrage
24
17% / 75%
En retard
16
9%
Gratuit
2
Développeur 2
Évaluation
(260)
Projets
305
76%
Arbitrage
13
77% / 0%
En retard
5
2%
Chargé
3
Développeur 3
Évaluation
(179)
Projets
193
46%
Arbitrage
4
50% / 25%
En retard
1
1%
Chargé
4
Développeur 4
Évaluation
(2676)
Projets
3414
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
5
Développeur 5
Évaluation
(553)
Projets
844
61%
Arbitrage
33
27% / 45%
En retard
24
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
378
72%
Arbitrage
19
32% / 47%
En retard
16
4%
Gratuit
Publié : 15 codes
8
Développeur 8
Évaluation
(9)
Projets
16
19%
Arbitrage
2
0% / 50%
En retard
3
19%
Chargé
9
Développeur 9
Évaluation
(2346)
Projets
2952
63%
Arbitrage
125
44% / 26%
En retard
429
15%
Gratuit
10
Développeur 10
Évaluation
(8)
Projets
11
0%
Arbitrage
8
25% / 75%
En retard
2
18%
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(52)
Projets
64
39%
Arbitrage
15
27% / 60%
En retard
1
2%
Travail
13
Développeur 13
Évaluation
(252)
Projets
462
26%
Arbitrage
139
20% / 60%
En retard
100
22%
Gratuit
14
Développeur 14
Évaluation
(78)
Projets
246
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
15
Développeur 15
Évaluation
(455)
Projets
721
34%
Arbitrage
35
71% / 9%
En retard
23
3%
Gratuit
16
Développeur 16
Évaluation
(13)
Projets
14
36%
Arbitrage
3
0% / 100%
En retard
0
Travail
Publié : 1 article
17
Développeur 17
Évaluation
(435)
Projets
642
53%
Arbitrage
35
63% / 20%
En retard
6
1%
Travail
18
Développeur 18
Évaluation
(258)
Projets
269
29%
Arbitrage
2
50% / 0%
En retard
3
1%
Travail
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
(34)
Projets
35
40%
Arbitrage
0
En retard
3
9%
Gratuit
22
Développeur 22
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
23
Développeur 23
Évaluation
(29)
Projets
36
44%
Arbitrage
4
50% / 50%
En retard
3
8%
Gratuit
24
Développeur 24
Évaluation
(19)
Projets
27
11%
Arbitrage
11
9% / 55%
En retard
12
44%
Gratuit
25
Développeur 25
Évaluation
(28)
Projets
34
35%
Arbitrage
0
En retard
2
6%
Travail
26
Développeur 26
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
27
Développeur 27
Évaluation
(70)
Projets
88
58%
Arbitrage
6
67% / 17%
En retard
2
2%
Chargé
28
Développeur 28
Évaluation
(29)
Projets
33
27%
Arbitrage
20
10% / 50%
En retard
11
33%
Gratuit
29
Développeur 29
Évaluation
(211)
Projets
274
21%
Arbitrage
24
54% / 17%
En retard
0
Gratuit
30
Développeur 30
Évaluation
(10)
Projets
16
50%
Arbitrage
1
100% / 0%
En retard
4
25%
Gratuit
Commandes similaires
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
I am looking for an experienced MQL5 Expert Advisor (EA) developer to analyze an existing trading setup and develop a similar automated trading robot. Project Overview I have access to a demo trading account where trades are being executed automatically. The trading results look very promising, but I do not know exactly what strategy, logic, indicators, or trade-management rules are being used. I will provide access
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Modification of existing ea …. Add ema filter, add risk percentage per trade, and modify the pips per day filter. I already have the ea code I just need these things added and modifified
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
MQL5 Developer 30+ USD
📄 وثيقة المواصفات الفنية لروبوت التداول (MQL5 EA Specification) 📌 1. ملخص المشروع والهدف * اسم المشروع: Gold Cent Grid-Hedge EA * المنصة: MetaTrader 5 (MQL5) * أداة التداول: الذهب (XAUUSD) * نوع الحساب: حساب سنت (Cent Account) * فكرة الاستراتيجية: تداول شبكة هيدج متوازنة (Grid-Hedging) تفتح صفقات تعزيز كل مسافة محددة، وتغلق الطرف الأكثر ربحاً عند تحقيق هدف مالّي مجمع بالدولار/السنت لإعادة هيكلة التوازن. ⚙️ 2
I need a developer who also understands trading. I have a Telegram copy-trading bot that reads signals from a Telegram channel via a Python script and converts them into trading orders. I want to create a program that analyzes Gold (XAUUSD) charts specifically and sends signals in this exact format: #XAUUSD BUY 4324-4321 TP 4327 TP 4330 TP 4334 TP 4339 TP 4344 TP 4354 TP 4364 SL 4311 If the # symbol is missing at the
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA

Informations sur le projet

Budget
30+ USD