Design a ANN (Artificial Neural Network) to forecast stock market values on the basis of their past data.