Algaecide won't stop the pool from becomming green, Chlorine does that, but oyu have to use it in the right amount.
Read Pool School, get a good test kit, and forget about the foaming algaecide. We only recommend algaecide, and then only Polyquat, for very specific circumstances. Never for normal use.