Skip to main content

HT_SINE

Type: ht_sine • Category: indicators

Description

Hilbert Transform - SineWave

Parameters

NameTypeDescriptionRequiredDefault
dataExpstringprices datano
pricestringPrice field to use to calculate HT_SINEno

Help

HT_SINE

Description

The HT_SINE worker is an indicator used in financial analysis, specifically designed to calculate the Hilbert Transform - Sine Wave.

Overview

The Hilbert Transform is a mathematical technique used to generate a sine wave that represents the instantaneous phase and amplitude of a signal. In the context of financial analysis, the HT_SINE worker is used to identify cyclical patterns in price movements.

What does this worker do?

The HT_SINE worker takes two inputs:

  • dataExp: prices data
  • price: Price field to use to calculate HT_SINE

It then calculates the Hilbert Transform - Sine Wave for the given price data, producing a sine wave that represents the cyclical component of the price movements.

How to interpret the results

The output of the HT_SINE worker is a sine wave that oscillates between -1 and 1. The wave's peaks and troughs indicate the cyclical turning points in the price movements.

Usage

To use the HT_SINE worker, simply provide the required inputs:

  • dataExp: Your price data
  • price: The price field to use for calculations (e.g. 'close', 'high', etc.)

Indicator Usage Example

For a visual representation of how to use the HT_SINE worker, please see the following GIFs:

Full Indicator Usage Example

[![Full Indicator Usage Example](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)

Short Indicator Usage Example

[![Short Indicator Usage Example](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)

Additional Information

The Hilbert Transform - Sine Wave is a powerful tool for identifying cyclical patterns in financial data. By analyzing the sine wave, traders and analysts can gain insights into the underlying market dynamics and make more informed investment decisions.

Note that the HT_SINE worker is typically used in conjunction with other technical indicators to form a comprehensive trading strategy.