I would think that pattern recognition software packages do exist but I'm not familiar with any off-hand... Higher end packages like TradeStation, Ensign, Q-Trades probably include pattern scans... You could also check some of the ones listed here Years and years ago I had an "easy language" software package that I could design my own scan parameters but they are gone now...I think CyberTrader had some too.
I have used the free versions of StockCharts.com and Worden's FreeStockCharts.com scans but I don't think they list any for patterns like flags...check with Worden Brothers, their TC200 premium package might include some.
Register for free to join our community of investors and share your ideas. You will also get access to streaming quotes, interactive charts, trades, portfolio, live options flow and more tools.