Fixed momentum and mean reversion to generate alternating trades. Also allows parameters of lookback period and threshold