Hidden Markov Models (HMM)  approach for forecasting stock price for Shanghai Stock Exchange  markets.