cdlhangingman
CDLHANGINGMAN
Type:
cdlhangingman
• Category:indicators
Description
Hanging Man
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
open | string | no | ||
high | string | no | ||
low | string | no | ||
close | string | no | ||
pattern | string | no | "CDLHANGINGMAN" |
Help
CDLHANGINGMAN
Overview
The CDLHANGINGMAN worker is an indicator used in financial markets to identify potential trend reversals.
Description
The CDLHANGINGMAN worker detects the Hanging Man candlestick pattern, which is a bearish reversal pattern that forms when a small body and long lower wick are present at the end of an uptrend.
What does this worker do?
This worker analyzes a set of candlestick data, specifically the open, high, low, and close prices, to identify the Hanging Man pattern. When the pattern is detected, it returns a value indicating the presence of the pattern.
How to interpret the results
The worker returns a value that indicates whether the Hanging Man pattern is present or not. A positive result suggests that the pattern has been detected, which may indicate a potential bearish reversal in the market.
Parameters
The following parameters are required to use the CDLHANGINGMAN 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": "CDLHANGINGMAN",
"description": "The pattern to detect (default: CDLHANGINGMAN)"
}
}
Detailed Parameters
- 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: CDLHANGINGMAN) - The pattern to detect. Defaults to CDLHANGINGMAN.
Example Usage
To use the CDLHANGINGMAN worker, provide the required parameters in the following format:
{
"open": "10.0",
"high": "12.0",
"low": "9.0",
"close": "10.5",
"pattern": "CDLHANGINGMAN"
}