Skip to main content

HT_DCPHASE

Type: ht_dcphase • Category: indicators

Description

Hilbert Transform - Dominant Cycle Phase

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringList of pricesno

Help

HT_DCPHASE

Overview

The HT_DCPHASE worker is an indicator used in financial markets, specifically designed to calculate the Hilbert Transform - Dominant Cycle Phase.

Description

The Hilbert Transform - Dominant Cycle Phase (HT_DCPHASE) is a technical indicator that uses the Hilbert transform to identify the dominant cycle phase in a financial instrument's price data. This indicator helps traders and analysts to better understand the cyclical patterns in market data.

What does this worker do?

The HT_DCPHASE worker takes a list of price data as input and applies the Hilbert transform to identify the dominant cycle phase. The output of this worker provides insight into the current phase of the market cycle, which can be used to inform trading decisions.

How to interpret the results

The output of the HT_DCPHASE worker represents the phase of the dominant cycle in the market data. This phase value can range from 0 to 360 degrees, with different ranges corresponding to different stages of the cycle (e.g., 0-90 degrees may indicate an uptrend, while 180-270 degrees may indicate a downtrend). By analyzing the phase value, traders and analysts can gain a better understanding of the current market cycle and make more informed trading decisions.

Parameters

The following parameters are required to configure the HT_DCPHASE worker:

Parameters Schema (JSON)

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

Parameter Details

  • dataExp:
    • Type: string
    • Description: A list of prices. This input represents the financial instrument's price data, which will be used to calculate the Hilbert Transform - Dominant Cycle Phase.

Example Usage

To use the HT_DCPHASE worker, simply provide a list of price data as a string in the dataExp parameter. The worker will then calculate and return the dominant cycle phase.

{
"dataExp": "[10.0, 12.0, 15.0, 13.0, 11.0]"
}