Well I'm a little busy right now, but I'll give you some insight as to how I make them work.
So a good step is to probably just copy my G36C macro as it's pretty basic and easy to manipulate.
Going past that you should make the two middle points on the macro larger if you want a faster firing macro and the outside dots larger if you want less recoil, if you want to get really fancy you could edit the speed of the macro with the gear symbol to try to get a macro with less "skips"
Good luck!