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.
Benzer siparişler
Hi there developer, I need someone who can create an trading ea that place order in points using an. Vps with an stop loss in 2 point behind the order price automatically it close order in 1 point if the market reverse
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I need a custom MT5 Expert Advisor (MQL5) for XAUUSD. Strategy: 1. Trend Filter (H1) - EMA 20, EMA 50 and EMA 200. - Buy only when EMA20 > EMA50 > EMA200 and price is above EMA200. - Sell only when EMA20 < EMA50 < EMA200 and price is below EMA200. 2. Confirmation (M15) - M15 trend must confirm the H1 trend before taking any trade. 3. Entry (M5) - Wait for price to pull back to EMA20 only. - After touching EMA20, wait
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
I I would like to create a trading robot based on 2 ema crossing. The robot is pretty simple, it should open buy position when fast ema cross slow ema and vise versa. Also it should use martingale after the loss position. It should has expiration period inside the code and alerts l
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
MT5 Global Stop Loss & Take Profit Manager for Manual Trades I need an Expert Advisor (EA) for MetaTrader 5 that manages ONLY existing manual trades. GENERAL REQUIREMENTS - Works only on the current chart symbol (example: XAUUSD). - Supports Hedging accounts. - Detects all manually opened market positions. - Never opens trades automatically. - Never closes trades automatically. - Never places pending orders. - Never
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), area based on Fibonacci. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure or Fibonacci. Money management are based on fix volume or
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB