Skip to content

HT_DCPHASE

Summary

Hilbert Transform Dominant Cycle Phase: the instantaneous phase (in degrees) of the dominant market cycle, derived from a homodyne discriminator on a Hilbert-transformed, smoothed price. One real output per bar. Output is degrees, wrapped so it never exceeds 315 (can go negative).

Inputs

  • inReal — Price series to analyze

Outputs

  • outReal — Dominant cycle phase in degrees

Implementation

TA-Lib Definition: ht_dcphase.c · ht_dcphase.yaml

Native File
C ta_HT_DCPHASE.c
Rust ht_dcphase.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

Aliases

Hilbert Transform Dominant Cycle Phase

See Also

HT_DCPERIOD · HT_PHASOR · HT_SINE · HT_TRENDLINE · HT_TRENDMODE · MAMA · WMA

References

  • John F. Ehlers, Rocket Science for Traders: Digital Signal Processing Applications, John Wiley & Sons (ISBN 0471405671)