Keep applying small dabs of hot glue along the length of the candy cane, wrapping the two yarn strands around as you go. The yarn might become a little twisted near the balls of yarn, but just maintain a length of untwisted yarn to work with, and you will be able to achieve the stripe.