Better post all relevant code, but if it works with two algos, why not just leave the short algo empty, then it wont be called.