In recent years, artificial neural network (ANN) was used to forecast stock prices in many research efforts. Some of those efforts lacked a criterion rule to choose input variables and to achieve a significant network architecture. Some of them used trial