Many thanks!

And if I want an algo to open several positions at once, rather than increasing lot size, with each positions, for example, having a different take profit - could you point me to where I can learn how to code that?

Again, many thanks!!