Why do you have nitrates? Most tanks with some sand and a good portion of real live rock have no problems keeping nitrate at zero, but it can take up to a year if you left everything alone for nature to do it's thing.
Are you bare bottom? Keep minimalistic rock scape? Is your rock man made or previous dry/dead? Have you impeded he last part of the N cycle (nitrate to N gas) with organic carbon, GFO, euro dosing regime or anything? Is your tank still pretty new?
Figuring out why you have nitrates could change your approach.
I have 2-3" of sand and a bunch of real pacific live rock. No matter how much I feed, the anoxic bacteria will keep the N about .1 or lower and there is nearly nothing that I can do to raise it including adding KNO3.
In my first post, I believe my nitrates are up from overfeeding. I put in an auto feeder and it went up after that at some point. I turned it off and will use it when I am away. I never had an issue with Nitrates before, it was an ULNS.