HMA TREND Trading Guide

Last updated: July 22, 2026

The HMA Trend (2-State) is a quantitative technical analysis tool. HMA_TREND Hull Moving Average Trend (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.
  • HMA (hma): 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.
  • HMA Line (hma): 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.
  • hma - HMA 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.
  • hma - HMA 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.

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