Rework of priceNodeAfterTick

1. Refactoring of priceNodeAfterTicks to seperate the effects of quotes
and trades
2. Added priceNodeAfterTrade to simplify pattern matching