OPEN-SOURCE SCRIPT

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.
Exponential Moving Average (EMA)Hull Moving Average (HMA)Weighted Moving Average (WMA)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明