F-B_AutoPilot

F.B_Double Hull Moving Average Trend Tracker

The F.B_Double Hull Moving Average Trend Tracker indicator is designed to identify market trends and is based on two Hull Moving Averages.

The "Hull Moving Average" (HMA) is a fast and smooth moving average that exhibits a rather unique behavior. The HMA attempts to completely remove lag while simultaneously presenting smoother results.

The first derivative is calculated for each HMA 1 and HMA 2.

If HMA 1 derivative > 0 and HMA 2 derivative > 0, then color the HMA lines and bar color green.

If HMA 1 derivative < 0 and HMA 2 derivative < 0, then color the HMA lines and bar color red.

If the slope of the derivative is different between HMA 1 and HMA 2, then color the HMA lines and bar color gray.


Meaning of colors:

Green ⇒ Uptrend

Gray ⇒ Price consolidation, trend weakness, or correction

Red ⇒ Downtrend


Best used in conjunction with additional indicators.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?