Look at the visual clue right before the defender is going to attack. Swipe left or right .5 seconds afterwards. attack once or twice. Repeat.