To clear the algae, your going to have to keep your chlorine quite a bit higher than 5. With a cya at 30 or less, I would suggest shocking your pool to a chlorine level of 12 and try and hold it there. Test 2 or better yet 3 times a day, and each time, add enough bleach to take the chlorine back up to 12. Also continue running the pump 24/7 while you are trying to clear the pool.

Regarding your high ph, you need to use muriatic acid to lower it to 7.4-7.6 and you'll want to raise your alk to betweeen 80-125 by adding some baking soda. But, those things can wait a few days. Right now, work on getting rid of the algae. Hope this helps.