Yes, 20 levels is the maximum diference between parameters.

For exemple is your atack is 40 and your defense 20 you need to increase defense, otherwise you cant increase atack.