9 Sept 2021, 13:26

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.
0_1631193646833_4ab408e4-56a7-4264-ab49-9e0713dbc83f-image.png