Bro, why make things so difficult? If the market rallies hard, then BUY (that also means, get out of your short). If it takes a nosedive, then go short (again, get the eff out of your longs).
Be flexible and don't get married to either direction. In the end, nobody but you care about your losses.