What kind of technique is Madara using?
Madara is foreshadowing where how the shuriken will hit him. This is one of the powers a sharingan gives. So during the fight he foreshadows that the shuriken will hit him so he avoids it when it actually does happen.