Use 3: One of your fastest and 2 of your best attack ships. I always leave them together when not attacking and never get attacked. When attacking, attack with your fastest first then your most powerful. I think ship combat is too random to know for sure wether or not single ship raids are more powerful than stacks.