Zero-Lag Moving Average • Audited v5
Hull Suite Zero-Lag Trend Strategy
The Hull Suite combines Hull Moving Average (HMA), Exponential HMA, and Translated HMA into a zero-lag trend indicator. It eliminates the traditional lag of simple moving averages while retaining smooth trend filtration.
63.7%
Win Rate (Tick Data)
2.05
Profit Factor
1.98
Sharpe Ratio
8.2%
Max Drawdown
Pine Script v5 Source Code
Author: InSilico • Non-repainting//@version=5
strategy("Hull Suite Strategy [Backpulse]", overlay=true, initial_capital=10000)
length = input.int(55, "Hull Length")
hma = ta.wma(2 * ta.wma(close, length / 2) - ta.wma(close, length), math.floor(math.sqrt(length)))
plot(hma, color=hma > hma[1] ? color.green : color.red, linewidth=2)
if (ta.crossover(hma, hma[1]))
strategy.entry("Long", strategy.long)
if (ta.crossunder(hma, hma[1]))
strategy.entry("Short", strategy.short)Optimal Parameter Settings (Bayesian Sweep)
Discovered across 50,000+ historical candle simulations on real tick data with fees and slippage included.
| Parameter | Default | Recommended | Tested Range | Description |
|---|---|---|---|---|
| Hull Length | 55 | 60 | 20 – 100 | Period for Hull weighted moving average calculation. |
Automated Webhook Alert Payload
Sub-300ms execution on Binance, Bybit, Tradovate & OKX{"action":"{{strategy.order.action}}","symbol":"{{ticker}}"}Frequently Asked Questions
Why is Hull Moving Average faster than EMA?
HMA uses weighted moving averages of half-periods subtracted from full-periods with square-root smoothing, effectively eliminating phase lag while maintaining price smoothness.