It's almost discretionary thing you're trying to establish - for instance gap up and down, how do you define it. Or "small bullish/bearish candle", what is small? Or downtrend... Visually easy to see, but for algo trading there needs to be certainty and clear cut conditions. Probably those patterns need custom indicator approach.