Hmm. I see no incorrect trade in your code. Zorro does not trade in the lookback period. When did that happen? Do you have a log of how Zorro registers an incorrect price and triggers a wrong trade?