Cycle Indicators

Hilbert Transform - Trend vs Cycle Mode (HT_TRENDMODE)

Hilbert Transform - Trend vs Cycle Mode

Deep Dive

Everything You Need to Know

Under the Hood

How It Works

HT_TRENDMODE uses Hilbert Transform to classify market state as either trending (output=1) or cycling (output=0). Developed by John Ehlers, this binary indicator analyzes the cycle characteristics to determine when a market has broken out of cyclical behavior into a directional trend. When cycles become distorted or irregular, HT_TRENDMODE switches to 1, indicating trend mode. This classification is crucial because cycle-based indicators work well during cycle mode but fail during trends, while trend-following indicators suffer during cycles.

In Practice

How Traders Use It

Professional cryptocurrency traders use HT_TRENDMODE as a regime filter to select appropriate trading strategies. When HT_TRENDMODE=1 (trend), deploy trend-following indicators like moving average crossovers or MACD; when =0 (cycle), use oscillators like HT_SINE or RSI. This adaptive approach dramatically improves performance by avoiding strategies that are inappropriate for current market conditions. HT_TRENDMODE is essential for multi-strategy systems that switch between trend-following and mean-reversion approaches. It's heavily used by algorithmic traders building regime-adaptive systems.

Highlights

HT_TRENDMODE at a Glance

Binary output: 1 = trend mode, 0 = cycle mode
Classifies market regime for strategy selection
Uses Hilbert Transform cycle distortion analysis
Prevents using cycle indicators during trends and vice versa
No parameters - automatically detects regime changes
Critical for adaptive multi-strategy systems
Trend mode = use MACD, MAs; Cycle mode = use HT_SINE, RSI
Essential for algorithmic and systematic trading
Developed by John Ehlers for regime-adaptive strategies

Get Started

Automate HT_TRENDMODE with cryptorobot.ai

Build automated strategies using Hilbert Transform - Trend vs Cycle Mode and hundreds of other indicators. Connect to your favourite exchange and let the bot execute trades 24/7 — no code required.