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

MQL5 Uzmanlar

Şartname

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.


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(107)
Projeler
175
25%
Arabuluculuk
23
13% / 78%
Süresi dolmuş
16
9%
Serbest
2
Geliştirici 2
Derecelendirme
(242)
Projeler
285
77%
Arabuluculuk
13
69% / 0%
Süresi dolmuş
4
1%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(160)
Projeler
169
44%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
1%
Yüklendi
4
Geliştirici 4
Derecelendirme
(2665)
Projeler
3396
68%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
5
Geliştirici 5
Derecelendirme
(543)
Projeler
824
62%
Arabuluculuk
33
27% / 45%
Süresi dolmuş
23
3%
Serbest
Yayınlandı: 1 kod
6
Geliştirici 6
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
(279)
Projeler
376
72%
Arabuluculuk
19
32% / 47%
Süresi dolmuş
14
4%
Serbest
Yayınlandı: 14 kod
8
Geliştirici 8
Derecelendirme
(5)
Projeler
10
10%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
2
20%
Çalışıyor
9
Geliştirici 9
Derecelendirme
(2322)
Projeler
2925
63%
Arabuluculuk
123
45% / 25%
Süresi dolmuş
429
15%
Çalışıyor
10
Geliştirici 10
Derecelendirme
(8)
Projeler
11
0%
Arabuluculuk
7
29% / 71%
Süresi dolmuş
2
18%
Çalışıyor
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(47)
Projeler
55
33%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
2%
Çalışıyor
13
Geliştirici 13
Derecelendirme
(250)
Projeler
460
26%
Arabuluculuk
139
20% / 60%
Süresi dolmuş
100
22%
Serbest
14
Geliştirici 14
Derecelendirme
(77)
Projeler
243
74%
Arabuluculuk
7
100% / 0%
Süresi dolmuş
1
0%
Serbest
Yayınlandı: 1 makale
15
Geliştirici 15
Derecelendirme
(454)
Projeler
717
34%
Arabuluculuk
34
71% / 9%
Süresi dolmuş
22
3%
Serbest
16
Geliştirici 16
Derecelendirme
(7)
Projeler
9
0%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
0
Serbest
Yayınlandı: 1 makale
17
Geliştirici 17
Derecelendirme
(434)
Projeler
635
54%
Arabuluculuk
32
56% / 22%
Süresi dolmuş
6
1%
Yüklendi
18
Geliştirici 18
Derecelendirme
(258)
Projeler
265
29%
Arabuluculuk
0
Süresi dolmuş
3
1%
Serbest
Yayınlandı: 2 kod
19
Geliştirici 19
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
20
Geliştirici 20
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
21
Geliştirici 21
Derecelendirme
(27)
Projeler
29
38%
Arabuluculuk
0
Süresi dolmuş
3
10%
Serbest
22
Geliştirici 22
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
23
Geliştirici 23
Derecelendirme
(21)
Projeler
27
41%
Arabuluculuk
4
50% / 50%
Süresi dolmuş
1
4%
Çalışıyor
24
Geliştirici 24
Derecelendirme
(19)
Projeler
27
11%
Arabuluculuk
11
9% / 55%
Süresi dolmuş
12
44%
Serbest
25
Geliştirici 25
Derecelendirme
(24)
Projeler
30
30%
Arabuluculuk
0
Süresi dolmuş
2
7%
Çalışıyor
26
Geliştirici 26
Derecelendirme
(2)
Projeler
2
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
27
Geliştirici 27
Derecelendirme
(41)
Projeler
47
60%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
0
Çalışıyor
28
Geliştirici 28
Derecelendirme
(28)
Projeler
32
25%
Arabuluculuk
20
10% / 50%
Süresi dolmuş
10
31%
Çalışıyor
29
Geliştirici 29
Derecelendirme
(199)
Projeler
255
21%
Arabuluculuk
23
48% / 17%
Süresi dolmuş
0
Çalışıyor
30
Geliştirici 30
Derecelendirme
(4)
Projeler
5
0%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
1
20%
Yüklendi
Benzer siparişler
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

Proje bilgisi

Bütçe
30+ USD