In order for your hips to be building bone density through the day, they need to be supporting the weight of your pelvis and torso in a certain alignment.
A common pattern we see with resting standing positions is standing with the pelvis pushed slightly forward (as in the first picture). It's subtle but has major implications for bone health of the hips (not to mention the long term impact of this position on foot health, core strength, and balance).
Shifting the pelvis back so your body weight is carried over the heels (second picture) and maintaining this position throughout the day allows for optimal bone health. However, getting to this position if this is not your usual requires taking a closer look at the muscle groups that attach to the pelvis.
A quick and simple test to help you determine where you carry your center of mass: make a plumb line from string with something weighted at the bottom. Position yourself facing sideways toward a mirror and find the boniest...