The following is a tweak that I think makes the progression much safer by keeping the bet sizes lower overall.
W = +1 end attack. If at new profit, start new attack at...