When you say "hip bone", do mean the bony protrusion on each side of the front of your pelvis? This isn't actually the hip joint, it's the bony arch of your pelvis.
The hip joint is located on the inside crease of your groin, where your thigh meets your pelvis. The thigh bone comes up then at the top makes a sharp turn toward the midline of your body. If you feel like there's pain in your "leg crease" or groin, that's the hip joint. anyplace else...isn't.
The feeling of electricity shooting down your thigh might be a pinched nerve due to osteo arthritis in your back.