Hip pain from squats?

Ive been doing a lot of squats lately, no weights just body weight squats and I've noticed some hip pain the past few days. The pain only comes when I do squats. Is this a problem with my technique or how can I prevent this?
Hip pain from squats?
Post Opinion