Primarily historical price action, secondarily trendlines, and small weight to fibs and pivots (which as a mathematician I don't believe in except for their self-fulfilling-prophecy value, if you know what I mean).
Apex's analysis is way more complex and takes lots more factors into account...