how to predict the next trade