Skip to content
All library documents

Engulfing and Doji Candlestick Signals on Daily Bars

Article Strategy library · Author: ChaoZhang

Summary

This strategy defines bullish and bearish engulfing patterns using the relationship between consecutive candles’ open, close, and prior high or low. It treats a candle as a doji when its open-close difference is no more than a small fraction of its full high-low range. Bullish engulfing patterns trigger long entries, bearish engulfing patterns trigger short entries, and dojis receive a chart marker. The strategy also includes visual signal labels and alert conditions.

The document gives BTC/USDT futures backtest dates and identifies daily bars as the intended signal timeframe, but it reports no performance statistics. Although described as multi-timeframe, the code does not use the timeframe input to request or compare data from another timeframe, so the implementation shown is a single-chart-timeframe pattern strategy. Pattern signals are only known after bar formation and may be unreliable in choppy markets; the document suggests volume or trend confirmation and explicit stops and targets, which are not included in the shown entry logic.

Key ideas

  • Bullish and bearish engulfing patterns are defined from two adjacent candles.
  • A doji is identified by comparing the candle body with its full high-low range.
  • Engulfing patterns trigger long or short entries, while dojis are marked visually.
  • The published test window has no accompanying performance results.
  • Despite its description, the shown code does not implement multi-timeframe data analysis.

Tags

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