welcome on board.
You might find this "energy needs calculator" useful to estimate how many calories you need to maintain your current weight:
By eating a little less than the estimate, you should lose weight safely and it may help you avoid the rollercoaster ride you're on at the moment.
In the Tools section of this site there's also a food diary that you might find useful.
Hope this helps, good luck and again, welcome aboard.