LSTM Model Predicting Horizontal Straight Line Constantly


I used this tutorial when developing my LSTM model to predict Bitcoin prices and changed it with using my data:

Whenever I use my test data for it to predict it just predicts a horizontal straight line for the whole thing like this:
download (1)

I don’t know why this is happening because when I trained the model it had a final loss of 0.0000000075. I’m not sure if this is an error in my code or a problem in training my model.

I would appreciate it a lot if someone could help me with this