Most home SWCG units will NOT keep up with chlorine demand, while you have active algae growing. With a CYA=50 ppm, you DEFINITELY need to read the Best Guess page, linked in my blue signature bar.

Use bleach to raise the pH -- to the DARK yellow - orangish-yellow OTO range. If you want help with doses, please complete the pool chart:
Pool Chart Entry Form