Skip to content
All library documents

Bullish Engulfing Candles as Long Entry Signals

Article Strategy library · Author: HPotter

Summary

This script treats a bullish engulfing pattern as a possible long signal. The pattern consists of a down candle followed by an up candle whose real body contains and exceeds the prior candle’s body, subject to a minimum prior-body size. When the conditions are met, the script records an entry price, colors the chart, and opens a long position. Inputs set the minimum body size and fixed take-profit and stop-loss distances in pips.

The source labels the example educational and describes its chart coloring as part of its purpose. It offers a mechanical definition of the candle pattern and a simple way to test it, but includes no market, timeframe, or backtest performance evidence. The code’s trade state and price-threshold handling would need to be checked in the target platform before relying on its exits. A candlestick pattern alone does not establish that a reversal will follow, and the document does not evaluate costs or execution assumptions.

Key ideas

  • The bullish engulfing pattern pairs a down candle with a larger up candle whose body contains the earlier body.
  • The implementation requires a minimum size for the first candle’s body.
  • A qualifying pattern triggers a long entry with configurable pip-based profit and loss thresholds.
  • The script supplies no evidence that the pattern is profitable across markets or timeframes.

Tags

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