StratBase.aiStratBase.ai
DashboardCreate BacktestMy BacktestsCatalogBlogNewsToolsHelp

Products

  • Researcher Dashboard
  • Create Backtest
  • My Backtests
  • Catalog
  • Blog
  • News

Alerts

  • Calendar
  • OI Screener
  • Funding Rate
  • REKT
  • Pump/Dump

Company

  • About Us
  • Pricing
  • Affiliate
  • AI Widget
  • Contact

Legal

  • Privacy
  • Terms
  • Refund Policy

Support

  • Help Center
  • Reviews
StratBase.aiStratBase.ai

Think it. Test it.

StratBase.ai does not provide financial advice or trading recommendations. AI only formalizes user ideas into testable strategy configurations for research purposes. Past backtesting performance does not guarantee future results. All trading decisions and associated risks are the sole responsibility of the user. This platform is not a broker and does not facilitate real trading.

© 2026 StratBase.ai · AI-powered strategy research and backtesting platform

support@stratbase.ai
Help Center/Indicators/HMA (Hull Moving Average)

HMA (Hull Moving Average)

📈Indicators
📌

HMA (Hull Moving Average)

📋

What is HMA?

The Hull Moving Average (HMA), developed by Alan Hull, is designed to virtually eliminate lag while maintaining curve smoothness. It achieves this by combining Weighted Moving Averages (WMA) of different periods with a square root transformation, producing one of the most responsive moving averages available.

⚙️

How it works

HMA(N) = WMA(2 × WMA(N/2) - WMA(N), sqrt(N))

Step by step:

  1. Calculate WMA with period N/2.
  2. Calculate WMA with period N.
  3. Compute: 2 × WMA(N/2) - WMA(N).
  4. Apply WMA with period sqrt(N) to the result.
⭐

Key features

  • Near-zero lag — reacts almost instantly to price changes.
  • Smooth curve — the sqrt(N) final WMA pass maintains smoothness despite the speed.
  • Direction changes are meaningful — when HMA changes slope, it is a strong signal.
  • Built from WMA — inherits the linear weighting properties.
📌

Trading signals

Trend direction

  • HMA rising — uptrend.
  • HMA falling — downtrend.

Slope change

  • HMA changes from falling to rising — bullish reversal signal.
  • HMA changes from rising to falling — bearish reversal signal.

Price vs. HMA

  • Price above rising HMA — strong bullish confirmation.
📌

Parameters

| Parameter | Default | Description | |-----------|---------|-------------| | Period | 9 | Lookback period for the HMA calculation |

💡

Example conditions

| Condition | Meaning | |-----------|---------| | close > HMA(9) | Price above Hull MA — bullish | | close cross_over HMA(20) | Price reclaims HMA — potential trend start | | HMA(9) cross_over HMA(21) | Fast HMA crosses slow — momentum shift |

💡

Tips

  • HMA(9) is the most popular setting for intraday trading.
  • Due to extremely low lag, HMA can produce signals 1-3 bars earlier than EMA.
  • Use HMA slope color change (rising = green, falling = red) as a visual trend filter.
  • For swing trading, try HMA(20) or HMA(50) for a balance of speed and reliability.
  • Be cautious in choppy markets — HMA's speed can lead to whipsaws without a filter.
Related Resources|Fibonacci CalculatorPivot Points CalculatorTrading Blog