This little device can be your best friend when trying to find these sorts of things... and it'll make you look like an expert to whoever is selling the car! Imagine the looks I got showing up to check out potential car purchase with a multi-meter, IR thermometer, and one of those things.
Is the ticking variable with engine speed? I'd suspect HLA (lifter) noise, but it's hard to say without hearing it.
Heath