This is a Ba Gua Zhang exercise. There are lot's of different ones - just look on YouTube.
I'm a bit lazy here, doing it fairly high up. Once you get used to the movement and as your flexibility increases, lower the height of your stance in a horse riding posture. Do this carefully and watch the back bend so you don't hurt yourself.