Trading lot size (Money Management setting)

20 February 2022, 14:02
Konstantin Kulikov
0
1 759

These are the only parameters in the sets/profile that are recommended to be changed at your discretion if you are an inexperienced user.

All my Expert Advisors have several lot calculation schemes. Select one of the schemes (by setting "true") and adjust the lot size in the next parameter, disable the other schemes (by setting "false"). An example is shown in the screenshot.


To check the correctness of the lot calculation, take a look at the chart to which EA is attached and look at the displayed "Lot size" value.



Description of parameters for lot size and MM.

1️⃣   Use_Fix_Lots - enable/disable the fixed trading lot;

> 1️⃣   Value_Fixed_Lot - the value of the fixed lot;

2️⃣   Use_MM_1 - enable/disable the lot value based on balance;

> 2️⃣   Funds_for_001_Lot - amount of funds for 0.01 lot;

3️⃣   Use_MM_2 - enable/disable the lot value as a percent of deposit based on StopLoss;

> 3️⃣   Risk_Percentage - percent of deposit for lot value calculation;

>3️⃣   Use_arbitrary_SL_for_calc_Risk - set an arbitrary StopLoss in the Arbitrary_SL_for_calc_Risk parameter for calculating the lot via Use_MM_2;

>3️⃣   Arbitrary_SL_for_calc_Risk - arbitrary StopLoss for calculating the size of a trading lot (it makes sense to use it in the Grid-Martingale mode); 

>2️⃣&3️⃣ Add_Recovery_for_Lots - enable/disable recovery money management (trading lot will not decrease in case of drawdowns); this setting applies to both MM_1 and MM_2.


Frequently asked question: is "Recovery management" different from "Regular management"?

The "Recovery MM" is calculated in the same way as the "Regular MM", but the trading lot will not decrease when there are drawdowns (and funds are withdrawn from the balance)⚠️. If you want the lot size to be recalculated (for example, when withdrawing part of the funds from the account), then change the lot value or attach the EA to the chart again or reopen the profile or restart the terminal.


In my sets with SL, I use the "Add_Recovery_for_Lots=true"⚠️


⭐️⭐️⭐️ The Best Offer: https://www.mql5.com/en/blogs/post/768696


⚠️ Requires attention ⚠️
⚙️ In my settings (presets and profiles), I usually specify the dynamic lot size relative to the balance units. For example, 0.01 lots for every 200 balance units. I call this a moderate risk, assuming the balance currency is USD or close to it in value (EUR, GBP, CHF, etc.).
🔄 If the balance currency of your trading account is noticeably different, for example, if your account balance is in JPY, then the number of balance units must be multiplied by the exchange rate of the USDJPY pair.
🧮 Example: 200 * 160 = 32,000. So, in the settings, you need to specify 0.01 lots for every 32,000 balance units .
🔀 Note: If USD stands second in the currency pair (for example, AUDUSD), you need to divide instead of multiply by the exchange rate to find the correct number of balance units.
📩 If you are experiencing any difficulties, just write me a personal message, and I will prepare personal settings for your account! 🤝