Trading Strategies with Condition Codes in Tick History Data