Predicting the trend of a security