Skip to main content

CDLDARKCLOUDCOVER

Type: cdldarkcloudcover • Category: indicators

Description

Dark Cloud Cover

Parameters

NameTypeDescriptionRequiredDefault
openstringno
highstringno
lowstringno
closestringno
patternstringno"CDLDARKCLOUDCOVER"

Help

CDLDARKCLOUDCOVER

Overview

The CDLDARKCLOUDCOVER worker is an indicator used in financial markets to identify a specific candlestick pattern known as the Dark Cloud Cover.

Description

The Dark Cloud Cover is a bearish reversal candlestick pattern that occurs during an uptrend. It is characterized by a first candle that is bullish (green or white), followed by a second candle that opens above the high of the first candle but closes below the midpoint of the first candle.

What does this worker do?

This worker analyzes a set of candlestick data (open, high, low, close) to identify the Dark Cloud Cover pattern. It returns a value indicating whether the pattern is present or not.

How to interpret the results

The worker returns a boolean value (true or false) indicating whether the Dark Cloud Cover pattern is present in the given candlestick data. A true result suggests a potential bearish reversal, while a false result indicates that the pattern is not present.

Parameters

The following parameters are required to use the CDLDARKCLOUDCOVER worker:

Parameters Schema (JSON)

{
"open": {
"type": "string",
"description": "The opening price of the candlestick"
},
"high": {
"type": "string",
"description": "The highest price of the candlestick"
},
"low": {
"type": "string",
"description": "The lowest price of the candlestick"
},
"close": {
"type": "string",
"description": "The closing price of the candlestick"
},
"pattern": {
"type": "string",
"default": "CDLDARKCLOUDCOVER",
"description": "The name of the pattern to identify (default: CDLDARKCLOUDCOVER)"
}
}

Detailed Parameters

  • open: The opening price of the candlestick. (string)
  • high: The highest price of the candlestick. (string)
  • low: The lowest price of the candlestick. (string)
  • close: The closing price of the candlestick. (string)
  • pattern: The name of the pattern to identify. Default is CDLDARKCLOUDCOVER. (string, default: CDLDARKCLOUDCOVER)

Example Usage

To use the CDLDARKCLOUDCOVER worker, provide the required parameters in the following format:

{
"open": "10.0",
"high": "12.0",
"low": "9.0",
"close": "11.0",
"pattern": "CDLDARKCLOUDCOVER"
}

The worker will return a boolean value indicating whether the Dark Cloud Cover pattern is present in the given candlestick data.