when the affected region is a muscle on the leg the current can be between 0 1 130 ma with a pulsing waveform having biphasic rectangular impulses with a pulse width between 20 500 u03bcs and waveform frequency between 1 140 hz in an exemplary embodiment current stimulation is not provided earlier than 30 minutes before a movement impairing episode current amount does not exceed 3 ma and stimulation duration does not exceed 60 minutes in a first embodiment the electrodes 21 used to acquire the signal through the signal sensing unit 20 can be distinct from the electrodes 21 used to provide stimulation through the actuation unit 50 in an alternative embodiment the same electrodes 21 used to acquire the signal can also be used to provide the stimulation for instance a cap can be instrumented to accommodate electrodes 21 for recording eeg and providing electrical stimulation in a further alternative embodiment electrodes 21 placed in proximity of the ear and or in the ear can be used to either record or stimulate or alternatively both record and stimulate in yet a further alternative embodiment electrodes 21 placed in the leg can record emg or provide electrical stimulation or alternatively both record and stimulate the electrodes 21 either those connected to the signal processing unit 30 or the signal generating unit 40 can communicate with their respective components either wirelessly or wired while the components of the present invention are presented separately.