3 min · 702 words · Updated MAY 6, 2026
Technicals · Long-form

Hilbert Transform SineWave (HT SINE)

The Adaptive Cycle Oscillator That Tunes Itself to Market Rhythm Learn the formula, key examples, and how investors use it in practice.

hilbert transform sinewave (ht sine) — editorial hero illustration
The 90-second answer
There is nothing new on Wall Street or in stock speculation. What has happened in the past will happen again and again.
Jesse Livermore
Legendary Stock Trader · Reminiscences of a Stock Operator · 1923

The Hilbert Transform SineWave often thought of as a DSP-derived oscillator for cycle-timed entries and trend filters, is John Ehlers’ attempt to show a market’s dominant cycle in the most intuitive form possible: two smooth sine-curves that rise and fall in real time with price. By first detrending price and then feeding it through a discrete Hilbert transform, the algorithm extracts the signal’s instantaneous phase. Plotting (formula) together with an advance of (Formula — visualization pending) turns that abstract phase data into a familiar oscillator.

  • When the curves climb through zero, the market is leaving a cycle trough;

  • when they crest above +1 or dive below −1, the trend is so strong that normal cyclic swings are stretched;

  • when LEADSINE crosses SINE you get an early heads-up that a zero-line crossing—and thus a swing turn—lies just ahead.

Because the underlying phase adapts bar-by-bar, HT SineWave adjusts automatically to shorter rhythms in choppy markets and to longer wavelengths in slow trends, eliminating the need for fixed look-back settings. Used as a timing overlay—ideally confirmed by price structure or volatility filters—it helps traders enter near troughs, exit near peaks, and stay out when the market’s pulse is too weak or too distorted to trust.

Purpose & heritage

John F. Ehlers designed the Hilbert Transform SineWave to display the market’s dominant cycle in the familiar form of two smooth sinusoids:

  • (formula)

  • (Formula — visualization pending)

where φt\varphi_tφt​ is the instantaneous phase angle extracted from the analytic signal of price. Plotting these curves lets traders see at a glance whether price is in an upswing (SINE rising through zero), downswing, or transition zone. Unlike fixed-length oscillators, the wavelength of HT SINE adapts automatically to the market’s changing rhythm.

Mathematical construction

  1. Detrend price

(Formula — visualization pending)

  1. Generate In-Phase / Quadrature pairs (see phasor module)

(Formula — visualization pending)

  1. Advance the phase by 90° (to align components):

(Formula — visualization pending)

  1. Compute instantaneous phase

(Formula — visualization pending)

Phase unwrapped so it flows smoothly.

  1. Output the sinusoid pair

(Formula — visualization pending)

Reading the oscillator

PatternInterpretationTactical cue
SINE crosses zero upward (SINE = 0, rising)Cycle trough → start of upswingPotential long seed
SINE crosses zero downwardCycle peak → start of downswingPotential short seed
LEADSINE leads by 45°Gives an early alert of upcoming SINE crossAnticipatory timing
SINE & LEADSINE glued around ±1Trend dominant; cycles stretchedFilter out counter-trend signals


Rule of thumb:
Trade only SINE zero-crossings that occur while the two curves are separated (divergent); ignore when they are tangled near zero (noisy range).

Typical trading frameworks

1 Cycle-timed swing system

  • Buy when LEADSINE crosses SINE from below and both are below –0.5.

  • Sell/short on the mirror condition above +0.5.

  • Exit when SINE reverses to the opposite side or after a pre-set R-multiple.

2 Trend filter

  • Enable moving-average cross strategy only when |SINE| < 0.5 (trend dormant → cycles visible).

  • Disable when |SINE| > 0.75 (trend dominant → oscillator less reliable).

3 Adaptive stop

  • Trail a stop at the most recent price low formed near a SINE trough; ratchet it each time a new trough appears.

Strengths

  • Automatic wavelength detection – no fixed look-back guesswork.

  • Low lag – phase updates every bar; SINE mirrors real-time turning points.

  • Clear visuals – sinusoids are easy to read; zero-line acts as objective trigger.

Limitations

  • Needs clean data – spikes or gaps distort phase; pre-smooth with median filter.

  • Whipsaws in strong trends – when cycles stretch, SINE may hug ±1 for long periods; use a trend/volatility filter.

  • Warm-up window – ignore first ~50 bars to let the Hilbert pair stabilise.

Key Take-Away

The Hilbert Transform SineWave converts price into a pair of adaptive sinusoids that lay bare the market’s dominant cycle—its rhythm and turning points—without the lag of fixed-length oscillators. Time longs on SINE up-crosses, shorts on down-crosses, and blend amplitude or trend filters to avoid chop. Treat it as a cycle-timing overlay, not a standalone system, and you’ll keep your trades in sync with the pulse of the market. Rock on and manage that risk!

Printed candlestick chart annotated with hand-drawn hilbert transform sinewave (ht sine) pattern markers on an analyst desk.
Q · 01
What is Hilbert Transform Sinewave Ht Sine?
A · TL;DR
Hilbert Transform Sinewave Ht Sine is a financial concept covered in this article. Read the full guide above for the definition, formula, examples, and how investors apply it in practice.
Q · 01What is Hilbert Transform Sinewave Ht Sine?+
Hilbert Transform Sinewave Ht Sine is a financial concept covered in this article. Read the full guide above for the definition, formula, examples, and how investors apply it in practice.
Trading-desk artifact representing hilbert transform sinewave (ht sine) — textbook page and bull-or-bear desk sculpture.