How can I create a proper capital management system?
-
Hello friends. I am a newcomer and have encountered a problem. I want to create a capital management system that has this feature.
Lot=0.1;
If the trade is successful :
Lot2=Lot+Lot
Lot3=Lot2+Lot
.
.
.
Lot8=Lot7+LotBut if the trade fails, one lot size should be subtracted from the Lot size until we reach the initial lot size.
For example, if we fail on the seventh trade, the eighth trade will be equal to:
Lot8=Lot7-Lot
And for example, if the first trade fails, the second trade will be equal to:
Lot2=Lot1Generally, if we win the trade, one unit should be added to our latest lot size, and if we lose the trade, one unit should be subtracted from our latest lot size.
-The next condition is that after 8 successful trades, the lot size should be reset to the initial lot size, which in my example is Lot=0.1
Please help me. I am struggling to connect the blocks in a way that will perform this task for me!

-
is this what you are after? https://fxdreema.com/shared/XIHkwAWQ just add in all your conditions.
So it doubles its lot size after every win up to 8 consecutive wins, then resets back to the original lot size
If it makes a loss it also resets back to original lot size -
Great . Very close to what I wanted. I just don't want the amount of the lot to be reset to the original lot every time the stop is taken and the lot will only decrease by one unit.
But Your Guide helped me a lot and thank you for your guidance my good friend . And I think I can edit it. -
I did these settings for when the trades hit the stop according to my own definition.

Everything goes well But if the trades hit a few stops in a row, the lot size becomes negative! But I want this decrease to continue until I return to the initial lot.
please help
-
Can you please share the link to your project?