Skip to main content

CDLENGULFING

Type: cdlengulfing • Category: indicators

Description

Engulfing Pattern

Parameters

NameTypeDescriptionRequiredDefault
openstringno
highstringno
lowstringno
closestringno
patternstringno"CDLENGULFING"

Help

CDLENGULFING

Overview

The CDLENGULFING worker is an indicator used in financial markets to identify the Engulfing Pattern, a significant candlestick pattern that can signal a potential reversal in market trends.

Description

The Engulfing Pattern is a two-candlestick pattern that can be either bullish or bearish. A bullish engulfing pattern occurs when a small bearish candle is followed by a large bullish candle that completely engulfs the previous candle. Conversely, a bearish engulfing pattern occurs when a small bullish candle is followed by a large bearish candle that engulfs the previous candle.

What does this worker do?

This worker analyzes the given candlestick data and identifies occurrences of the Engulfing Pattern. It returns a signal indicating whether a bullish or bearish engulfing pattern has been detected.

How to interpret the results

The worker returns a value that indicates the type of engulfing pattern detected:

  • A positive value typically indicates a bullish engulfing pattern.
  • A negative value typically indicates a bearish engulfing pattern.

Parameters

The following parameters are required to configure the CDLENGULFING worker:

Parameters Schema (JSON)

{
"open": {
"type": "string",
"description": "The open price of the candlestick."
},
"high": {
"type": "string",
"description": "The high price of the candlestick."
},
"low": {
"type": "string",
"description": "The low price of the candlestick."
},
"close": {
"type": "string",
"description": "The close price of the candlestick."
},
"pattern": {
"type": "string",
"default": "CDLENGULFING",
"description": "The type of pattern to detect (default is CDLENGULFING)."
}
}

Detailed Parameters List

  • open: string - The open price of the candlestick.
  • high: string - The high price of the candlestick.
  • low: string - The low price of the candlestick.
  • close: string - The close price of the candlestick.
  • pattern: string (default: CDLENGULFING) - The type of pattern to detect. For this worker, the default value is CDLENGULFING, which is the only supported pattern.