Linear models for the impact of order flow on prices. II. The Mixture Transition Distribution model