Skip to content
All library documents

Automated Recognition of Ten Bullish and Bearish Candlestick Patterns

Article Strategy library · Author: ChaoZhang

Summary

This document describes a programmatic recognizer for ten common candlestick patterns: five treated as bullish and five as bearish. Single-candle patterns are identified through relationships between candle bodies and shadows; two-candle patterns compare neighboring opens and closes; three-candle patterns evaluate the direction and positioning of a sequence. Individual patterns can be enabled or disabled, and detected patterns are marked on the chart. The strategy enters long on any enabled bullish pattern and short on any enabled bearish pattern.

The published settings specify a BTC/USDT futures test on a two-hour chart over a short period, but no performance statistics are provided. The document warns that patterns are confirmed only after a candle closes, can produce false signals in choppy markets, and lack built-in comprehensive stop-loss controls. It recommends trend or volume filters and explicit risk management as possible additions. Although the title calls the strategy multi-timeframe, the supplied description and source show pattern recognition on the chart’s current timeframe, not a multi-timeframe confirmation method.

Key ideas

  • The recognizer covers five bullish and five bearish candlestick patterns.
  • Pattern rules use candle body and shadow proportions or relationships across two or three candles.
  • Enabled bullish detections open long positions, while bearish detections open short positions.
  • Candle-close confirmation can delay signals, and patterns may be unreliable in ranging markets.
  • The source operates on the chart timeframe and provides no performance results or comprehensive stop-loss logic.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.