Muscle twitching can be onset by a number of things. Dehydration, fatigue, even lyme disease are great examples, albeit a bit extreme. In a lot of cases, muscle twitching can be cured by getting rest and resupplying your body with magnesium. Try taking magnesium pills and report back maybe...
In other words, it might have nothing to do with your MDMA use.