Skip to main content

CDLBREAKAWAY

Type: cdlbreakaway • Category: indicators

Description

Breakaway

Parameters

NameTypeDescriptionRequiredDefault
openstringno
highstringno
lowstringno
closestringno
patternstringno"CDLBREAKAWAY"

Help

CDLBREAKAWAY

Overview

The CDLBREAKAWAY indicator is used in financial markets to identify a Breakaway pattern.

Description

The Breakaway pattern is a type of candlestick pattern that indicates a potential reversal in the market trend. It occurs when a gap appears between two consecutive candlesticks, and the second candlestick has a small body and long wicks.

What does this worker do?

This worker calculates the CDLBREAKAWAY indicator values based on the provided open, high, low, and close prices.

How to interpret the results

The CDLBREAKAWAY indicator returns a value that indicates the presence of a Breakaway pattern. A value of true indicates that the pattern is present, while a value of false indicates that it is not.

Parameters

The following parameters are required to calculate the CDLBREAKAWAY indicator:

Parameters Schema (JSON)

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

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: CDLBREAKAWAY) - The pattern to be identified (in this case, always CDLBREAKAWAY).

Example Usage

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

{
"open": "100.0",
"high": "120.0",
"low": "90.0",
"close": "110.0",
"pattern": "CDLBREAKAWAY"
}

The worker will then return a value indicating the presence of a Breakaway pattern.