All indicators

Hull MA with BB (With Alerts)

May 22, 2021

Static chart image
Volume BasedSignalsChannelsMoving AveragesVolatility

The Hull MA with BB (With Alerts) indicator is a comprehensive technical analysis tool that combines the 3rd Generation Moving Average (NMA), Bollinger Bands, VWAP, and a Hull-Kahlman trend hybrid to provide multifaceted trend confirmation and volatility analysis. This tool is designed to assist traders in identifying high-probability entry and exit zones by aligning momentum, mean reversion, and trend-following signals.

Usage

This script provides several layers of confirmation for trade entries and exits. It is particularly effective on timeframes such as 15m, 30m, 1h, and 4h.

Entry Signal Logic: A potential long entry is characterized by a confluence of the following events:

  • Price action: A candle closes above the NMA (the blue step-line).
  • Trend Signal: The "Long" label appears, triggered by the Hull/Kahlman crossover.
  • Mean Reversion: Price is near the lower Bollinger Band and showing upward momentum.

Exit Signal Logic: A potential exit or short position is characterized by:

  • Price action: A candle closes below the NMA line.
  • Trend Signal: The "Short" label appears.

Details

The indicator integrates several advanced quantitative concepts:

  • 3rd Generation Moving Average (NMA): Developed by Alex Orekhov, this moving average aims to reduce lag while maintaining smoothness by using a specific alpha-lambda calculation.
  • Hull Trend with Kahlman Filter: This component uses the Kahlman filter to smooth out the Hull Moving Average (HMA). This helps in reducing noise and providing more reliable crossover signals ("Long"/"Short" labels).
  • Bollinger Bands & VWAP: Standard Bollinger Bands are included to provide volatility context, while the VWAP serves as a baseline for intraday value.

Settings

NMA Settings

  • 1st Length: The primary lookback period for the 3rd Generation Moving Average.
  • 2nd Length: The secondary lookback period used for the lag-reduction calculation.
  • MA Type: Choose the internal calculation method (EMA, SMA, VWMA, or WMA).
  • Source: The price data source for the NMA calculation.

VWAP & BB Settings

  • VWAP Length: The period used for the VWAP SMA smoothing.
  • VWAP Source / Offset: Controls the data source and horizontal displacement of the VWAP line.
  • BB Period: The lookback period for the Bollinger Bands baseline.
  • BB Dev Multiple: The number of standard deviations for the upper and lower bands.

Hull & Kahlman Settings

  • Lookback: The period for the internal Hull Moving Average components.
  • Show cross over/under: Toggles the visibility of the Long/Short labels.
  • Gain: Adjusts the responsiveness of the Kahlman filter.
  • Use Kahlman: Toggles whether to apply Kahlman smoothing to the HMA lines.

FAQ

How do I use the alerts for this indicator?

You can set up alerts for the "Long" and "Short" signals via the TradingView Alert menu. Additionally, alerts are available for when price crosses the VWAP line, which can serve as a preliminary warning before a trend shift.

What candles should I use with this script?

It is recommended to use standard candles. Using modified candle types like Heikin Ashi may distort the relationship between the price and the moving average components, potentially leading to delayed signals.

How do I access Hull MA with BB (With Alerts)?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.