Skip to main content

sarext


SAREXT

Type: sarext • Category: indicators

Description

Calculates the extended SAR indicator based on highest and lowest prices

Parameters

NameTypeDescriptionRequiredDefault
highstringList of highest pricesno
lowstringList of lowest pricesno
startvaluenumberno0
offsetonreversenumberno0
accelerationinitlongnumberno0
accelerationlongnumberno0
accelerationmaxlongnumberno0
accelerationinitshortnumberno0
accelerationshortnumberno0
accelerationmaxshortnumberno0

Help

SAREXT

Description

The SAREXT worker calculates the extended SAR (Stop and Reverse) indicator based on the highest and lowest prices in financial markets. This indicator is used to determine the trend direction and potential reversal points.

What does this worker do?

The SAREXT worker takes a list of highest and lowest prices as input and returns the extended SAR values. It uses various parameters to customize the calculation, such as acceleration and maximum acceleration values for long and short positions.

How to interpret the results

The output of the SAREXT worker is a list of extended SAR values that can be used to analyze the trend direction and potential reversal points in financial markets. A rising SAR value indicates an uptrend, while a falling SAR value indicates a downtrend. When the SAR value crosses over or under the price, it may indicate a potential reversal point.

Parameters

The following parameters are required to calculate the extended SAR indicator:

Parameters Schema (JSON)

{
"high": {
"type": "string",
"description": "List of highest prices"
},
"low": {
"type": "string",
"description": "List of lowest prices"
},
"startvalue": {
"type": "number",
"default": 0,
"description": "Initial SAR value"
},
"offsetonreverse": {
"type": "number",
"default": 0,
"description": "Offset value on reversal"
},
"accelerationinitlong": {
"type": "number",
"default": 0,
"description": "Initial acceleration value for long positions"
},
"accelerationlong": {
"type": "number",
"default": 0,
"description": "Acceleration value for long positions"
},
"accelerationmaxlong": {
"type": "number",
"default": 0,
"description": "Maximum acceleration value for long positions"
},
"accelerationinitshort": {
"type": "number",
"default": 0,
"description": "Initial acceleration value for short positions"
},
"accelerationshort": {
"type": "number",
"default": 0,
"description": "Acceleration value for short positions"
},
"accelerationmaxshort": {
"type": "number",
"default": 0,
"description": "Maximum acceleration value for short positions"
}
}

Detailed Parameters List

  • high: string - List of highest prices.
  • low: string - List of lowest prices.
  • startvalue: number (default: 0) - Initial SAR value.
  • offsetonreverse: number (default: 0) - Offset value on reversal.
  • accelerationinitlong: number (default: 0) - Initial acceleration value for long positions.
  • accelerationlong: number (default: 0) - Acceleration value for long positions.
  • accelerationmaxlong: number (default: 0) - Maximum acceleration value for long positions.
  • accelerationinitshort: number (default: 0) - Initial acceleration value for short positions.
  • accelerationshort: number (default: 0) - Acceleration value for short positions.
  • accelerationmaxshort: number (default: 0) - Maximum acceleration value for short positions.