Skip to main content

CDLSTICKSANDWICH

Type: cdlsticksandswich • Category: indicators

Description

Stick Sandwich

Parameters

NameTypeDescriptionRequiredDefault
openstringno
highstringno
lowstringno
closestringno
patternstringno"CDLSTICKSANDWICH"

Help

CDLSTICKSANDWICH

Overview

The CDLSTICKSANDWICH indicator is a financial market indicator used to identify specific patterns in market data.

Description

The Stick Sandwich pattern is a three-line candlestick pattern that can be used to identify potential reversals in the market.

What does this worker do?

This worker calculates the CDLSTICKSANDWICH indicator for a given set of market data, specifically the open, high, low, and close prices.

How to interpret the results

The CDLSTICKSANDWICH indicator returns a value that indicates the presence or absence of the Stick Sandwich 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 CDLSTICKSANDWICH 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": "CDLSTICKSANDWICH",
"description": "The pattern to identify (default: CDLSTICKSANDWICH)"
}
}

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 identify. Default is CDLSTICKSANDWICH. (string, default: CDLSTICKSANDWICH)

Example Usage

To use this worker, simply provide the required parameters in the specified format. For example:

{
"open": "10.0",
"high": "12.0",
"low": "9.0",
"close": "11.0",
"pattern": "CDLSTICKSANDWICH"
}