If I remember right, I used a #6 just to be on the safe side.  #4 is a little bit big. The distance from the battery to the solenoid is what makes the difference in the wire size. 12" of #10 would do the trick, Anymore than 12' i'd go to another size wire.