Money Manager
-
You can tell me how to indicate if I want to manage the money in the following way: 1.- With an initial equity of $ 10,000 starting with a volume of 1.00 (lots), after each $ 1000 won increase the volume by 10% of each batch to be opened.
I need help ?Rodrigo
-
@rodrigo-ortuzar You need a loop to calculate that as soon as a trade is closed in order to open any new trade with that new lot size. You can begin with this:

Please notice that those blocks are on the 'on trade' tab.
-
@rodrigo-ortuzar said in Money Manager:
You can tell me how to indicate if I want to manage the money in the following way: 1.- With an initial equity of $ 10,000 starting with a volume of 1.00 (lots), after each $ 1000 won increase the volume by 10% of each batch to be opened.
Thank you Andorrá
Create the variable lot_size. and a cycle to calculate the new batch size, but I don't understand the formula / 1000? because I want every $ 1000 of profit the lot increases by 10% that is 1.00 - 1.10 etc. You can exolicate me.@l-andorrà said in Money Manager:
Please notice that those blocks are on the 'on trade' tab.
Thank you Andorrá
Create the variable lot_size. and a cycle to calculate the new batch size, but I don't understand the formula / 1000? because I want every $ 1000 of profit the lot increases by 10% that is 1.00 - 1.10 etc. You can exolicate me. -



Is Andorrá correct?
-
@rodrigo-ortuzar No, what I shared was the initial step to create the structure only. That formuls does the following. The initial value for variable NEEDS to be 0. Now you run the EA for the first time on the chart. The first value for it will be:
-
Current balance: 10000. Thus the formula will be: 10000 / 1000 = 10. This means the frst lot size will be 10.0 lots. Now I see I was wrong because I should have used 10000 on the adjust box. Sorry for that mistake. Please substitute it so that...
-
The new calculation will be 10000 / 10000 = 1.0. This is the correct value for your initial lot size.
-
Now imagine you trade is successful and you new balance is 11200. As soon as the trade is closed the calculation will be: 11200 / 10000 = 1.12. And here you have the new lot size.
Does it make sense now?
-
-
Perfect, thank you very much