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.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?