Skip to main content

cdlonneck


CDLONNECK

Type: cdlonneck • Category: indicators

Description

On-Neck Pattern

Parameters

NameTypeDescriptionRequiredDefault
openstringno
highstringno
lowstringno
closestringno
patternstringno"CDLONNECK"

Help

CDLONNECK

On-Neck Pattern Indicator for Financial Markets

Description

The CDLONNECK worker is an indicator used in financial markets to identify the On-Neck pattern, a specific candlestick formation that can signal a potential trend reversal.

What does this worker do?

This worker analyzes the given candlestick data (open, high, low, close) to detect the On-Neck pattern. The On-Neck pattern is characterized by a long black candle followed by a small real body candle (either black or white) that closes near the midpoint of the previous candle's real body. This pattern can indicate a potential bullish reversal.

How to Interpret the Results

The output of the CDLONNECK worker is a value that indicates the presence or absence of the On-Neck pattern. A value of 1 typically indicates that the pattern is present, while 0 indicates that it is not. The interpretation of this output depends on the context of the analysis and the specific trading strategy being employed. Generally, the appearance of the On-Neck pattern can be seen as a bullish signal.

Parameters

The CDLONNECK worker accepts the following parameters:

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": "CDLONNECK",
"description": "The specific candlestick pattern to identify (fixed as CDLONNECK)."
}
}

Detailed Parameters List

  • 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: CDLONNECK) - The specific candlestick pattern to identify. This parameter is fixed as CDLONNECK for this worker.