Hull Butterfly Oscillator
By LuxAlgoOct 3, 2022

The Hull Butterfly Oscillator (HBO) takes a unique approach by building an oscillator from the difference between a traditional Hull Moving Average (HMA) and another version with inverted coefficients. This configuration is designed to provide a more structured impulse response, potentially reducing unwanted performance in relation to frequency domains when compared to conventional methods where a Hull Moving Average is subtracted from simple, exponential, or weighted moving averages.
Understanding Levels and Settings
The oscillator incorporates levels derived from cumulative means of the oscillator's absolute value. These levels are essential as they return dots that signal potential reversal points in the market. The settings you can tweak to optimize the indicator include:
- Length: This setting stipulates the number of past price inputs the oscillator will analyze, significantly influencing the sensitivity and responsiveness of the indicator.
- Levels Multiplier: This parameter determines how distant the levels are set from zero, impacting how often signals occur.
- Src (Source): This input defines the data source for the indicator, allowing for flexibility in terms of price inputs, such as opening or closing prices.
How to Trade with the Hull Butterfly Oscillator
The Hull Butterfly Oscillator can be used in a similar manner to many oscillators in the trading toolkit. By interpreting the sign of the HBO, traders can gauge the current trend's direction. Additionally, identifying divergences between the HBO and the price action can highlight potential reversal opportunities.
Its levels play a crucial role in signaling market conditions. Overbought or oversold market states are hinted at when the oscillator rises above or falls below these levels. A directional change in the oscillator while it's above the upper level triggers a red dot, signaling a possible reversal. Conversely, if under the lower level, a trend change spurs a green dot.
Technical Insights into HBO
The Hull Butterfly Oscillator's name is influenced by the coefficients used in its creation. Presenting regular Hull coefficients alongside their horizontally flipped versions resembles a butterfly, which is central to HBO's calculation process.
This unique computation method aims to yield a more structured impulse response, often proving advantageous over simpler operations like subtracting the Hull Moving Average from different types of moving averages, such as SMA, EMA, or WMA.
FAQ
How can I access the Hull Butterfly Oscillator?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
What is the main benefit of using the HBO?
The primary advantage of the Hull Butterfly Oscillator is its ability to reduce undesired frequency domain performance, giving traders potentially more reliable signals in identifying trend directions and reversals.
Can HBO's settings be customized?
Yes, traders can tailor the Length, Levels Multiplier, and Src to better fit their trading strategies and market conditions.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.