I would like to share about custom auto lots.
-
Because I tried looking through the old topic and couldn't find what I was looking for.
example : my balance = 2000$, auto lot 0.01 lots every balance increase 600$. I use a simple method, 2000÷600, put in int variable ( int variable: It will store only integer numbers, decimal numbers will be discarded. )Here the result=3.33 The number contained in the int variable is 3. auto lot is 0.01x3= 0.03
If the division result is less than one, the auto lot value is 0.01x1 put in double variable.I don't think it's going to be the same of the old topics, because I searched it and it suggested a complicated and difficult way. Importantly, it's not exactly what I want. I tried this method and it works well.
-
@worapongk1 Thank you for sharing.
-
@worapongk1 Could you plz share by creating a block, I don't know which block to use