I read carefully all your concernsand I am sorry for you situation.
There are some causes of this situataion but most probable is acute gastroenteritis
If I were you treating doctor I would suggest change your lifestyle
1.using plenty of water(2-3 L), food reach in fibers like fruits vegetables
2.avoid fast foode, spicy foods,soft drinks, coffee smoking
an d alcohol.
For the moment you can use spasmex and probiotics for cramps.
In my opinion you should take fecal analysis like coproculture, candida, ova /parasite if it still persist
All the best