goofoffgoose

Multiple HMA

Original Indicator Script for calculation and color change Hull Ma written and published by huyfibo
I found his version preferable and superior due to the method of mathematics used to get the Hull Ma

I have duplicated huyfibo's calculation for 1 line multiple times, changed variables on each one to create 12 total lines, and customized the color and width of each to help them be identifiable on the 1 minute chart.

This indicator was requested and written for a study to replace multiple SMA's with Hull MAs to compare accuracy as the Hull has much less lag.
As you can see on the above chart, it displays both the 200(1 min) and 1000 ( 5 min) HMA in gold . If user was watching the 1 min chart expecting price to resist at the 200, it would not hold. Although on the 5 min chart it does. This combination gives the user the expectation that price could jump the first line and resist at the second, which it does here.

Combining multiple lines into 1 also to take up much less room at the top of the chart for cleaner visual.
Default values are as such so that the user can have 5 min values displayed on a 1 min chart, as well as the equiv of 200 on the 30 min chart for the 2 and 4 hour.
This is a simply a matter of convenience for the study and can be unchecked to be hidden.
Coded colors and lengths are to visually discern comparable values. Both 1 and 5 min timeframes are the same color, but 1 min timeframe value has larger linewidth
Hull # 10 and 11 are intended for 30 min timeframe and should be unchecked for anything less as their value with be invalid.

All period values, color combinations, and line width can be changed in the the input menu.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?