Add 0.01 lots for every +100$ starting from 500$ Balance
-
Anybody have an idea how to add 0.01 lots for every +100$ starting from 500$? If for 500$ or lower, lots are 0.01, if account gained 100$ and now balance is 600$ add 0.01 lots to initial lots, and have 0.02 lots now. But to be calculated automatically.
I did like this but i have to create a structer for every interval but i want to have only 1 structure that calculate volume depending on balance.

-
@andrew-b Try this

-
@andrew-b But what if price is retracing and profit moves from $600 to $500, for example? And then it moves up again and hits $600 once more? Should a new increase to be considered?
-
@l-andorrà No. I want for <500$ 0.01 lots, for 600-700$ interval 0.02. If retracing from 600 to 500$ than to go back to 0.01.
-
@jstap And this will keep adding 0.01 when 700$+ 800$+ etc?
-
@andrew-b It will if you add more blocks it will, you need to test and see if it adds again on retrace, if it does add some more conditions to stop it doing so.
-
Hmm... Why don't you just use Money Management : Fixed Ratio by Ryan Jones?
Exactly what you need. Just a single block. Find it in BUY/SELL block. -
@biztet Never used that option. How would you set it for this specific case?
-
@l-andorrà , It will be exactly like what @Andrew-b wants.
With start up capital $500, the system will start with 0.01 lot.
Delta parameter is where you put like profit steps in dollar.
The unit size will be how many lot you want it to increase.
Example - If Delta = 100, unit size 0.01, it means from first deposit, with every $100 profit made, the lot size will increase 0.01. And it will decrease accordingly. -
@biztet Interesting. Thank you very much.
-
@biztet said in Add 0.01 lots for every +100$ starting from 500$ Balance:
50
@biztet Thank you for suggestion. Yes it does what i want partially. What I want additionally is to calculate the money in account and start with 0.01 for 500$<, and for any +100$ is already in account to add lots, if balance is already 1000$ to start with 0.06 and than add.
Or at least Ryan Jones don't have an initial lot size and after volume to be added. -
@Andrew-b Ryan Jones will only start with 0.01. What i understand in your case, since your start up is $500 and distance profit is $100, so from $1 to $599 equity, the ea will only open lot size 0.01.
And after that depends on your setting. If your unit size is 0.02, then the will open 0.03 when the equity more than $600.