Personally I think most of the ban prevention is done outside the game, e.g. IP, creation date, time spent logged out etc but I will tell you what I did: 2 hours maximum botted (+- any random value, e.g. 15 mins) and 2-3 hours breaked (can get away with 1.5 to 2 if in a discrete fishing spot) and you should be seeing insane gains. Nowadays I'm doing some manual farm/herb/birdhouse runs inbetween botting sessions, can't say anything for sure but it seems to be helping since I haven't been banned in a couple months which is both good and bad.