Sorry to hear about your issue with algae but as it was suggested earlier, it seems like you are focusing on something that doesn't have anything to do with your problem.
First of all pH, TA & CH have nothing to do with algae. FC level corresponding to your CYA level is what matters...