ZLEMA HA CROSS Trading Guide
Last updated: July 22, 2026
The ZLEMA HA Cross (2-State) is a quantitative technical analysis tool. ZLEMA_HA_CROSS ZLEMA HA Cross (2-State) Logic:
What does the indicator show?
- Market Structure & Momentum: Visualizes prevailing trend directions and key reversal zones.
- BUY / SELL Signals: Highlights confirmed entry and exit opportunities based on quantitative rules.
- Dynamic Boundaries: Provides adaptive levels for managing trade risk and reward expectations.
Key Settings
- Period (
period): Controls the calculation period and sensitivity for market detection. - Bullish HMA Line Color (
buy): Controls the calculation period and sensitivity for market detection. - Bearish HMA Line Color (
sell): Controls the calculation period and sensitivity for market detection. - ZLEMA HA (
zlema): Controls the calculation period and sensitivity for market detection. - HA Close (
haClose): Controls the calculation period and sensitivity for market detection. - Trend State (
state): Controls the calculation period and sensitivity for market detection. - Signal (
signal): Controls the calculation period and sensitivity for market detection. - Is Bull Trend (
isBull): Controls the calculation period and sensitivity for market detection. - Is Bear Trend (
isBear): Controls the calculation period and sensitivity for market detection. - Trend State (
state): Controls the calculation period and sensitivity for market detection. - Signal (
signal): Controls the calculation period and sensitivity for market detection. - ZLEMA Line (
zlema): Controls the calculation period and sensitivity for market detection. - Is Bull Trend (
isBull): Controls the calculation period and sensitivity for market detection. - Is Bear Trend (
isBear): Controls the calculation period and sensitivity for market detection.
How to use Strategy Parameters (Condition Source)
Within the Strategy Tester module, this indicator can be used both as a direct signal source and as a market-state filter.
1. Signal Events
isBull- Is Bull Trend event signal.isBear- Is Bear Trend event signal.
2. Filters and Trade Levels
period- Period value used for structural qualification or thresholds.buy- Bullish HMA Line Color value used for structural qualification or thresholds.sell- Bearish HMA Line Color value used for structural qualification or thresholds.zlema- ZLEMA HA value used for structural qualification or thresholds.haClose- HA Close value used for structural qualification or thresholds.state- Trend State value used for structural qualification or thresholds.signal- Signal value used for structural qualification or thresholds.isBull- Is Bull Trend value used for structural qualification or thresholds.isBear- Is Bear Trend value used for structural qualification or thresholds.state- Trend State value used for structural qualification or thresholds.signal- Signal value used for structural qualification or thresholds.zlema- ZLEMA Line value used for structural qualification or thresholds.
Strategy Example: Enter Long when buySignal is true and trendFilter == 1, ensuring trades align with dominant momentum.