I assume you have plants? What are they & how many?
If you get your plants to grow & there is a lot of them, goodbye algae... In otherwords, you need the correct BALANCE of good lighting, (and possibly good stable CO2 based on levels of lighting i.e. growth rates you want) and good ferts. You need to get this balance right or the algae gets a foothold.
Hence, one cannot categorically say that 'too much lighting = algae', 'too much nutrients = algae' etc, this is simply not true. Plants need these to grow: however algae is better at taking adbantages of these imbalances because (relatively speaking) they need less nutrients & Co2 and more lighting than do plants. Also they adapt quicker to environmental changes in the tank....
Andy