Skip to main content

ht_trendline


HT Trendline

Type: ht_trendline • Category: indicators

Description

Calculates the Hilbert trend line based on a list of prices

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringList of pricesno

Help

HT Trendline

Overview

The HT Trendline worker is an indicator designed for financial markets. It calculates the Hilbert trend line based on a list of prices.

Description

The HT Trendline worker is a technical analysis tool used to identify the trend direction in financial markets. It utilizes the Hilbert transform to calculate the trend line based on a provided list of prices.

What does this worker do?

This worker takes a list of prices as input and calculates the Hilbert trend line. The Hilbert trend line is a smoothed line that helps to identify the underlying trend in the price data.

How to interpret the results?

The output of the HT Trendline worker is a value that indicates the trend direction. A positive value indicates an upward trend, while a negative value indicates a downward trend. The magnitude of the value represents the strength of the trend.

Parameters

The following parameters are required to configure the HT Trendline worker:

Parameters Schema (JSON)

{
"dataExp": {
"type": "string",
"description": "List of prices"
}
}

Parameters Table

ParameterTypeDescription
dataExpstringList of prices. This should be a comma-separated string of price values.

Example Usage

To use the HT Trendline worker, provide a list of prices as a comma-separated string for the dataExp parameter.

{
"dataExp": "10.0, 12.0, 15.0, 13.0, 14.0"
}

This will calculate the Hilbert trend line based on the provided prices and return a value indicating the trend direction.