A fusion model of HMM, ANN and GA for stock market forecasting