I dont agree with the docter and im not sure what to do try seeing a diffrent Doc. but in your sleep you could"ave hit yourself in your sleep.
how much do you weigh, and how much exercise do you get? The reason I'm asking is because your veinous tissue in your legs may be weak, and if you don't exercise much, the blood can tend to leak out of the veinous tissue into the surrounding flesh, causing the bruise. The leg veins have valves in them, that as you walk, the blood gets pumped back up to the heart by the action of the leg muscles, and there are small valves in the veins to ensure that he blood doesn't flow back down and stay in the leg. once the blood has returned to the heart, it can begin all again. it can be normal unfortunately, if you have weak muscles in your leg, and/or weak vein walls, this is a problem that has no solution - you could try leg exercises to bolster the muscles in your legs