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)

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité