Specifiche
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
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.