I forgot to add that at one of my many trips to Petco I finally bought a water testing kit. When I tested the water the first time all the fish were still alive but I had that algae problem. The nitrite, nitrate, and ammonia levels were where they were supposed to be. The ph was lower than the recommended level for goldfish. It was 6.6 and the booklet said it should be about 7.5. When I cleaned out the tank I test the water again. This time all the levels were fine. Nitrite, nitrate, and ammonia were 0 and ph was 7.5. I knew when I cleaned the tank out I would be getting rid of both good and bad bacteria but this fish has been through a lot so I know it wouldn't be affected. Before my family moved to our new house, we lived with my grandfather. My cat, fish, and I slept in the basement. This last goldfish and three others that recently died here were all crammed in a 15g tank. When we moved out of his house, I couldn't bring them with me until I had a place to put them. The filter in the tank had only been changed once or twice between November of last here till Feb. of this here. And he didn't know enough to add water to the tank when it would evaporate. When I brought them home the 15g tank only had half of the water in it. He would forget to feed them, both lights blew, and the filter was filthy. I don't understand how they could live through all that and die here where they were in clean, healthy water. And somehow the tank there never had algae even though there weren't any bottom feeders or algae eaters?
As for the advice given to me so far. I will see if I can get to Petco today or another pet store and find some Melafix, I've never heard of it before. And I will change some water like I did yesterday.