With a new tank you are going to get algae in the beginning, its just a fact. First will come diatoms, like a brown dust on everything, then you may or maynot get some cyano, a red slime like substance, and finally there is usually some types of green algae, usually just a green dust that grows slowly on the glass. Each of these types of algae will have a 'phase' of several days to a week during the first month to 2 months after the tank is started. This is 'algae cycle' is totally normal and on the most part unavoidable. All tanks are different and some don't get much algae at all, but don't panic if you do get some.
None of the algae cycles should stick around for very long, if they do and get worse then there is a problem.
To prevent algae (and lessen the amount you get during the cycle) keep nitrate and phosphates to a minimum, maintain a reasonable flow throughout the tank, keep feedings to a minimum (if possible), provide good filtration and/or frequent water changes and keep water params as stable as possible. With lighting you can start off with 8 hours, if you want to keep corals you can leave it at 8 or gradually increase the time to 9 - 11 hours and see what effect it has on the algal growth.
With algae it can be a case of trial and error in the end.