Loss or gain, your pnl looked like a short straddle. You could be closing at a loss or at a gain depending on where the underlying went.
However, you should close prior to expiration since the gamma risk would be increasing very fast. And the risk you have to get those get extra days of theta (usually the juciest) become proportionally huge. If your strikes are exactly at the money, the flips from positive to negative gamma is an almost meaningless number for proper risk assessment.
Some of the more advanced traders might want to share tips. However, trading horizontals at expiration looks like a coin flip to me.