Hi all, I'm working on a hobby software project to detect the trends and patterns inside a chart. This will keep me busy over the weekends and also educate me in technical analysis. And I had one question in this regard. Currently I spot up or downtrend inside a chart by looking at the highs and lows. This works but it finds way to many lines, which causes noise. I want to know what are the ways by which I can filter out the noise from the real trend lines. I have relied on the following heuristics for now: 1. Number of points on the line (should be >= 3) 2. Distance between the points Can the experts give some more ideas on what indicators and factors should I look at to filter the noise from the rest of the lines. I'm attaching a screenshot of my tool. As you can see that it finds many lines but I need to find the stronger ones out. PS: If anyone is keen on joining me on this project then I will be pleased, so please let me know.