That would be (TradeIsPending || TradeIsEntry).