Need help here
-
hello, I want to create an auto lot size management such that when the balance increases by 10,000, add 0.01 to the lot size: the reference will be a value input as the initial balance.
The Logic is kinda like:
10k = 0.01
20k = 0.02,amount lower than 10k, restrict new trades from opening.
How can place the lot increment by 10k value on auto:
@ambrogio @jstap @l-andorrà
Thank yu -
Use a lot variable, in custom code put this:
if (AccountBalance() < 10000) {LOT =0.01;}
else if (AccountBalance() > 10000 && AccountBalance() < 20000) {LOT =0.02;}
else if (AccountBalance() > 20000 && AccountBalance() < 30000) {LOT =0.03;}continue this as you need, test an say if it works.
-
@jstap Thank you, I'll give it a try