As an example ... FinViz.com does something to automatically detect trendlines, wedges, etc. Any idea how they do it?
Link to FinViz.com stocks with wedge formations: http://finviz.com/screener.ashx?v=210&s=ta_p_wedge
Thanks for the replies.
After thinking ... I guess I'm looking for a algorithm to find trend lines ... Something that examines the peaks and troughs of price movement and attempts to assign trend lines. So it would "detect" a channel, or a flag, or whatever. (I'm more intersted horizontal...
Can anyone provide info/link to a sample SR detection algorithm? I understand many people define support and resistance differently, so I'd prefer code (or algorithm description) that determines SR levels based on previous price peaks and troughs ... but anything close to that would be great...