Predicting stock price movements using change point detection and trend analysis