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.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?