ZLEMA HA CROSS Trading Guide

Last updated: June 17, 2026

The ZLEMA HA Cross (2-State) is a highly responsive, low-lag trend-following overlay indicator that combines Heikin-Ashi candlestick smoothing with Zero-Lag Exponential Moving Average (ZLEMA) calculations. It filters out short-term market noise while reacting rapidly to true trend reversals.

How it works

The indicator processes price data in three steps:

  1. Heikin-Ashi Smoothing: Calculates HA Close and HA Open values to filter out random price spikes and gaps:
    • HA_Close = (Open + High + Low + Close) / 4
    • HA_Open = (HA_Open_prev + HA_Close_prev) / 2
  2. Zero-Lag Adjustments: Estimates the mathematical lag based on the period: Lag = (Period - 1) / 2, and calculates an adjusted price series: AdjustedHA = HA_Close + (HA_Close - HA_Close[t-Lag]).
  3. Exponential Filtering: Smooths the adjusted series using an EMA: ZLEMA_HA = EMA(AdjustedHA, Period).

The trend is bullish (state = 1) when the Heikin-Ashi Close crosses above the ZLEMA line, and bearish (state = -1) when it crosses below.

What does the indicator show?

  • ZLEMA Line: A smooth, color-shifting trendline plotted directly on the price chart:
    • Green Line: Bullish Trend state (HA Close is above the ZLEMA).
    • Red Line: Bearish Trend state (HA Close is below the ZLEMA).
  • Trend State: Binary output (1 for Bullish, -1 for Bearish) for strategy integration.
  • Signal: Generates a trigger signal (1 or -1) on the exact candle the trend state flips.

Trading Strategies

  • Trend Reversal Crossovers: Enter Long when the ZLEMA line turns Green (crossover to the upside) and enter Short when it turns Red (crossover to the downside).
  • Trailing Support/Resistance: Use the ZLEMA line as a trailing stop loss. Since it removes mathematical lag, it tracks the price closely during trends but remains stable during consolidations, protecting accumulated profits.

Continue Research

Explore the full academy, the product documentation, and the main platform pages for deeper crypto backtesting and strategy research.

Browse all academy guides Read the documentation Compare platform plans See the research engine