Skip to main content

CDLHARAMI

Type: cdlharami • Category: indicators

Description

Harami Pattern

Parameters

NameTypeDescriptionRequiredDefault
openstringno
highstringno
lowstringno
closestringno
patternstringno"CDLHARAMI"

Help

CDLHARAMI

Overview

The CDLHARAMI indicator is used in financial markets to identify the Harami pattern, a type of candlestick pattern that can signal a potential reversal in market trends.

Description

The Harami pattern is a two-candlestick pattern that indicates a potential reversal in the market. It consists of a large candlestick followed by a smaller candlestick that is completely inside the range of the large candlestick. The pattern can be either bullish or bearish, depending on the color of the candlesticks.

What does this worker do?

This worker calculates the CDLHARAMI indicator for a given set of financial data, specifically open, high, low, and close prices. It uses this data to identify the Harami pattern and returns a value indicating whether the pattern is present.

How to interpret the results

The worker returns a value that indicates whether the Harami pattern is present. A value of true indicates that the pattern is present, while a value of false indicates that it is not. This information can be used by traders and analysts to make informed decisions about buying or selling securities.

Parameters

The following parameters are required to calculate the CDLHARAMI indicator:

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": "CDLHARAMI",
"description": "The pattern to be identified (default is CDLHARAMI)"
}
}

Detailed Parameters

  • open: The open price of the candlestick. (string)
  • high: The high price of the candlestick. (string)
  • low: The low price of the candlestick. (string)
  • close: The close price of the candlestick. (string)
  • pattern: The pattern to be identified. Default is CDLHARAMI. (string)