READ book Hidden Markov Models in Finance (International Series in Operations Research & check this link http://dl02.boxbooks.xyz/?book=0387710817