How to decide the balance of the pie percentage?

Yeah you are not wrong, Poor choice of words really on my part. The idea of this is that you want your portfolio to lie somewhere on the curve as that maximises return for level of risk taken.

The program will now display the portfolio with the maximum sharpe ratio and maximum return also.

I’m bad at explaining lol.