e.d. recovery help please :(

Battling anorexia and bulimia ive gone from 180 pounds at 5'9 to 115. This recently shot up to 123 in just ONE WEEK of eating more freely. I stilk make healthy choices but have upped my calories to an average of 1500 to no more than 2,000. The weight gain is crazy fast especially on those not so extreme calories?! Ive noticed the changes in my body as well as the number on the scale. Things fit tighter, my thighs are touching again, and my stomach is constantly protruding.. The last few days ive been stressed and would eat my say, 1400 calories before noon and restrict the rest of the day (very bad i know) does the timing/frequency of eating affect the whole calorie in calorie out method??! Im just really condused and hopeless right now. Im in outpatient treatment and have stopped purging but now i feel this equally awful bingey cycle coming over me? Please offer me some advice or explanation to such a rapid weight gain and my weird eating habits :(