Stock market price data is extremely noisy and hard to predict. I would suggest trying to predict simpler waveforms such as sine waves in order to make sure your model works as expected.
Besides you should normalise the data. Neural networks work well when the input/output values are roughly in the range (-1, 1), and not so well when the values are far from that range.