I'm 17,I have on and off pain radiating from each testicle down to my left leg, what could this be?

It can’t be cancer because I ironically just went to the doctor yesterday and he checked for it and didn’t find anything. This pain just began this morning. I get like these waves of pain that hurt real bad for a few seconds at a time

has your doctor ruled out the infections? don’t hide if you had any sexual encounters(oral, anal, penetrative) recently. Also avoid sternous activity meanwhile treatment and take healthy food untill cure. Hope yours might be acute pain will cured soon. Keep follow up with doctor if lasts for 3 days

Its very usual for us to feel testicle pain from time to time, the pain should go away by itself after a few days.