I'm trying to develop an indicator based on patterns of movement. One of the questions I'm trying to determine an answer for is the number of bars I'll need to look at. For example if I wanted it to recognize things like double tops, or head and shoulders type patterns trends, etc. I assume I would need at least 20 bars. But would I need 30? 40? more? I don't really know any TA and that's why I'd like the computer to do the recognition work for me. Any suggestions for the number of bares I should include? I was thinking of looking at 2 different time frames. Daily charts is the first and 1 minute bars would be the second. I would love it if the it would work for day trading but I'm assuming patterns may be more prevalent in the daily bars. Thanks in advance, MPO Note: I meant to have the poll question be: How many bars are needed for most TA patterns?