When you say you've had anMRI and X-ray, what exactly do you mean? What was scanned (knee/back/etc) and when (recently or 4 years ago)?
Dont want to get too into it without more detail but if the scan was on your knee and it was clear then refered pain is always a possibility. This could be coming from a number of sources.