This site should help you (in source)
"What Makes Slime Algae Grow and Solutions For Eliminating This Problem
We suggest that you don't try to put all of these solutions into action at one time, because if you do, when the problem subsides you'll never really know where the problem was coming from and which solution worked to fix it. Start with one solution and see what results you get, and if that one doesn't work, try another one, and so on, until the problem is resolved. Now, in order for all forms of algae to grow, they require only two things; light and nutrients.
Lighting: The use of improper bulbs, lack of maintenance, and extended lighting hours are contributors that can lead to all sorts of algae problems. While these organisms do well in the 665 to 680 nanometer (nm) wavelength range, they are quite active bewteen the 560 and 620 nm range as well.
Solutions: Only use bulbs that are designed for aquarium use, run the lights 8 to 9 hours a day, and following the basic wattage rule of thumb, try different types of bulbs to increase the intensity and the spectral qualities of the light in the aquarium, particularly when it comes to any type of full-spectrum or color enhancing tubes being used.
Nutrients: Phosphates (PO 4 ), DOCs (Dissolved Organic Compounds), and nitrates (NO 3 ) are primary nutrient food sources for red and other slime algae.
Phosphates (PO 4 ) are commonly introduced into aquariums by means of using unfiltered fresh tap water, and through many aquarium products that may contain higher than normal concentrations of this element, such as sea salt mixes, activated carbon, KH buffers, foods, and many other sources. Also, for established reef tanks the long-term use of kalkwasser precipitates phosphates out of the water, and these phosphate based compounds can settle on and in the live rock and substrate.
Solutions: Use RO/DI filtered make-up water, a high quality sea salt mix, and be aware of the elements contained in other common aquarium products you may be using. For solutions to problems that can arise from using kalkwasser, refer to The Fishline's Microalgae article"