Skip to main content

cdl3linestrike


CDL3LINESTRIKE

Type: cdl3linestrike • Category: indicators

Description

Three-Line Strike

Parameters

NameTypeDescriptionRequiredDefault
openstringno
highstringno
lowstringno
closestringno
patternstringno"CDL3LINESTRIKE"

Help

CDL3LINESTRIKE

Overview

The CDL3LINESTRIKE worker is an indicator used in financial markets to identify specific patterns in price movements.

Description

The CDL3LINESTRIKE indicator is a candlestick pattern recognition tool. It identifies the Three-Line Strike pattern, which is a reversal pattern that can occur at the end of a trend.

What does this worker do?

The CDL3LINESTRIKE worker analyzes a set of candlestick data, including open, high, low, and close prices, to identify the Three-Line Strike pattern. This pattern consists of four consecutive candlesticks with specific characteristics:

  • The first three candlesticks have the same color (either bullish or bearish) and form a strong trend.
  • The fourth candlestick has the opposite color and completely engulfs the previous three candlesticks.

How to interpret the results

The output of the CDL3LINESTRIKE worker is a value that indicates the presence and type of the Three-Line Strike pattern:

  • A value of 1 indicates a bullish Three-Line Strike pattern (i.e., a potential buy signal).
  • A value of -1 indicates a bearish Three-Line Strike pattern (i.e., a potential sell signal).
  • A value of 0 indicates that no Three-Line Strike pattern was detected.

Parameters

The following parameters can be passed to the CDL3LINESTRIKE 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": "CDL3LINESTRIKE",
"description": "The pattern to be recognized (defaults to CDL3LINESTRIKE)."
}
}

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: CDL3LINESTRIKE) - The pattern to be recognized.