Skip to main content

CDL2CROWS

Type: cdl2crows • Category: indicators

Description

Two Crows

Parameters

NameTypeDescriptionRequiredDefault
openstringno
highstringno
lowstringno
closestringno
patternstringno"CDL2CROWS"

Help

CDL2CROWS

Two Crows Indicator for Financial Markets

Description

The CDL2CROWS indicator is a candlestick pattern indicator used in financial markets. It identifies a specific pattern known as the "Two Crows" pattern.

What does this worker do?

This worker calculates the Two Crows indicator for a given set of financial data. The Two Crows pattern is a bearish reversal pattern that occurs during an uptrend. It consists of three consecutive candlesticks: a long white candlestick, followed by two black candlesticks with the second black candlestick opening above the previous close and closing below the midpoint of the first candlestick.

How to interpret the results

The output of the CDL2CROWS worker is a value that indicates the presence and type of the Two Crows pattern. A value of 1 indicates a bearish reversal signal, suggesting that the price may decline. A value of 0 indicates that the pattern is not present.

Parameters

The following parameters are required to calculate the CDL2CROWS indicator:

ParameterTypeDescriptionDefault Value
openstringThe opening price of the candlestick.-
highstringThe highest price of the candlestick.-
lowstringThe lowest price of the candlestick.-
closestringThe closing price of the candlestick.-
patternstringThe pattern to be identified.CDL2CROWS

JSON Schema:

{
"open": {
"type": "string"
},
"high": {
"type": "string"
},
"low": {
"type": "string"
},
"close": {
"type": "string"
},
"pattern": {
"type": "string",
"default": "CDL2CROWS"
}
}

Example Usage:

{
"open": "100.0",
"high": "110.0",
"low": "90.0",
"close": "105.0",
"pattern": "CDL2CROWS"
}