Skip to main content

cdlhammer


CDLHAMMER

Type: cdlhammer • Category: indicators

Description

Hammer

Parameters

NameTypeDescriptionRequiredDefault
openstringno
highstringno
lowstringno
closestringno
patternstringno"CDLHAMMER"

Help

CDLHAMMER

Overview

The CDLHAMMER worker is an indicator used in financial markets to identify a specific candlestick pattern known as the Hammer.

Description

The CDLHAMMER worker is designed to detect the Hammer candlestick pattern, which is a bullish reversal pattern. This pattern is characterized by a small body at the upper end of a long lower shadow, with little to no upper shadow.

What does this worker do?

The CDLHAMMER worker analyzes candlestick data and identifies occurrences of the Hammer pattern. It takes in the open, high, low, and close prices of a candlestick and returns an indication of whether the Hammer pattern is present.

How to interpret the results

When the CDLHAMMER worker identifies a Hammer pattern, it indicates a potential bullish reversal in the market. This means that the market may be poised to move upwards. The worker returns a value that confirms the presence of the pattern.

Parameters

The following parameters are required to use the CDLHAMMER worker:

Parameters Schema (JSON)

{
"open": {
"type": "string",
"description": "The opening price of the candlestick."
},
"high": {
"type": "string",
"description": "The highest price of the candlestick."
},
"low": {
"type": "string",
"description": "The lowest price of the candlestick."
},
"close": {
"type": "string",
"description": "The closing price of the candlestick."
},
"pattern": {
"type": "string",
"default": "CDLHAMMER",
"description": "The name of the pattern to identify (default is CDLHAMMER)."
}
}

Detailed Parameters

  • open: string - The opening price of the candlestick.
  • high: string - The highest price of the candlestick.
  • low: string - The lowest price of the candlestick.
  • close: string - The closing price of the candlestick.
  • pattern: string (default: CDLHAMMER) - The name of the pattern to identify. In this case, it is fixed as CDLHAMMER.