Hull Moving Average + Bollinger Bands

The crosses give signal about HMA and BB crossovers, they are a bit lagging, if you stare well you will spot them a little earlier. It look like a good idea to buy and sell when HMA is near or on the outside of the outer bands.
By default the Bollinger Bands uses Simple Moving Average with 21 periodes, and Hull Moving Average use 9 periodes. You can alter the settings in the format dialog.
Please use as pleased, and if you do something clever with it I'll be happy to know :D
Fixed some conditionals.
Changed slightly the color of Hull MA
Changed to use the default price as close.
Added option to show and hide TD count.
Added alert condition to Hull when it moves above or beneath the close of price.
Added alert condition to TD when count is either 7 or 13. Getting signal on 7 gives you time to see if the trend is changing or if it will continue.
Added option to show and hide SAR. (SAR default is hidden).
Added option to show and hide plots on hull/price crossover, used for guidance to better se buy and sell signals within the bands. Mind the false signal! (Plot default is hidden).
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.