Skip to main content

cdlthrusting


CDLTHRUSTING

Type: cdlthrusting • Category: indicators

Description

Thrusting Pattern

Parameters

NameTypeDescriptionRequiredDefault
openstringno
highstringno
lowstringno
closestringno
patternstringno"CDLTHRUSTING"

Help

CDLTHRUSTING

Overview

The CDLTHRUSTING indicator is used in financial markets to identify a specific candlestick pattern known as the Thrusting Pattern.

Description

The Thrusting Pattern is a candlestick pattern that appears during a downtrend and indicates a potential reversal. It consists of two consecutive candles with a specific relationship between their bodies.

What does this worker do?

This worker calculates the CDLTHRUSTING indicator for a given set of financial data, specifically open, high, low, and close prices. It identifies whether the Thrusting Pattern is present in the data.

How to interpret the results

The worker returns a value indicating the presence or absence of the Thrusting Pattern. A positive value typically indicates that the pattern is present, suggesting a potential bullish reversal. A value of 0 or null indicates that the pattern is not present.

Parameters

The following parameters are required to calculate the CDLTHRUSTING indicator:

Parameters Schema (JSON)

{
"open": {
"type": "string",
"description": "The open price of the financial instrument"
},
"high": {
"type": "string",
"description": "The high price of the financial instrument"
},
"low": {
"type": "string",
"description": "The low price of the financial instrument"
},
"close": {
"type": "string",
"description": "The close price of the financial instrument"
},
"pattern": {
"type": "string",
"default": "CDLTHRUSTING",
"description": "The name of the pattern to calculate (default: CDLTHRUSTING)"
}
}

Detailed Parameters List

  • open: string - The open price of the financial instrument.
  • high: string - The high price of the financial instrument.
  • low: string - The low price of the financial instrument.
  • close: string - The close price of the financial instrument.
  • pattern: string (default: CDLTHRUSTING) - The name of the pattern to calculate. For this worker, the default value is CDLTHRUSTING.