@mr213214 You will need a variable to store the lot size value conditioned by the balance value this way:

01.png