Hull Moving Average (HMA)
Hull Moving Average — a fast-reacting moving average with reduced lag. Hull Moving Average (HMA) combines a fast reaction to price changes with minimal noise. It is calculated as the difference of two WMAs followed by smoothing. Compared to an EMA and SMA of the same period, HMA lags significantly less.
Formula:
HMA = WMA(2 * WMA(Close, n/2) - WMA(Close, n), sqrt(n))Parameters
Section titled “Parameters”| Parameter | Type | Default | Range / Values |
|---|---|---|---|
Period | int | 20 | 1-200 |
Triggers
Section titled “Triggers”| Trigger | Direction | Condition | Description |
|---|---|---|---|
| Price crosses the line up | 🟢 Buy | Price crossed the indicator line from below to above. | The closing price crossed the indicator line from below to above. |
| Price crosses the line down | 🔴 Sell | Price crossed the indicator line from above to below. | The closing price crossed an arbitrary indicator line (MA, Supertrend, etc.) from above to below. |
| Price above the line | 🟢 Buy | The closing price is above the indicator line. | The closing price is above the indicator line (MA, Supertrend, etc.). Reflects the current position of price relative to the trend line. |
| Price below the line | 🔴 Sell | The closing price is below the indicator line. | The closing price is below the indicator line. |
