Skip to main content

ht_trendmode


HT_TRENDMODE

Type: ht_trendmode • Category: indicators

Description

Hilbert Transform - Trend vs Cycle Mode

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringList of pricesno

Help

HT_TRENDMODE

Description

The Hilbert Transform - Trend vs Cycle Mode (HT_TRENDMODE) is an indicator used in financial markets to analyze the trend and cycle components of a price series.

What does this worker do?

The HT_TRENDMODE worker applies the Hilbert Transform to a given price series, allowing users to identify the trend and cycle modes present in the data. This can be useful for making informed trading decisions.

How to interpret the results

The output of the HT_TRENDMODE worker will indicate whether the market is in a trend or cycle mode. This information can be used to adjust trading strategies accordingly. A trend mode indicates a strong directional movement in the market, while a cycle mode suggests a more oscillatory behavior.

Parameters

The following parameters are required to run the HT_TRENDMODE worker:

Parameters Schema (JSON)

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

Parameters List

  • dataExp:
    • Type: string
    • Description: List of prices
    • Example: "Close, Open, High, Low"
    • Note: This should be a comma-separated list of price values.

Usage

To use the HT_TRENDMODE worker, simply provide the required dataExp parameter with a list of prices. The worker will then output the trend and cycle modes present in the data.

Example

{
"dataExp": "10.0, 12.0, 11.5, 13.0"
}

This example provides a list of four price values. The HT_TRENDMODE worker will apply the Hilbert Transform to this data and output the trend and cycle modes.