OPEN-SOURCE SCRIPT
Hull MA Cloud with Buy/Sell Labels

This is an adaptable HULL MA that you can change the settings and I would suggest to start with 9 and 49, and lower for scalping to something like 4 and 16. The formula used in this indicator makes use of a square root function. This means that perfect square numbers – 4, 9, 16, 25, 49, 81, are an ideal choice of setting for the length parameter of the indicator.
It is not generally advisable to employ the Hull MA in ‘moving average crossover’ type strategies, but use this with additional TA and indicators for trend.
This indicator also has additional SMA/EMA you can use as needed.
The buy and sell code is taken from an existing trading view script from user (tradingview.com/u/mphillipsvzw/) that I found was really well done and can be tweaked by adjusting the swing period to increase or decrease the signals. Please see his page and script for more details.
Play around with this script, change the HULL MA as it will be dependent on the commodity you are trading and time frame as well as the buy and sell to optimize the performance.
I would suggest adding 200 SMA and use a trend following strategy.
I know this code is not perfect and I will continue to see how it can be improved.
It is not generally advisable to employ the Hull MA in ‘moving average crossover’ type strategies, but use this with additional TA and indicators for trend.
This indicator also has additional SMA/EMA you can use as needed.
The buy and sell code is taken from an existing trading view script from user (tradingview.com/u/mphillipsvzw/) that I found was really well done and can be tweaked by adjusting the swing period to increase or decrease the signals. Please see his page and script for more details.
Play around with this script, change the HULL MA as it will be dependent on the commodity you are trading and time frame as well as the buy and sell to optimize the performance.
I would suggest adding 200 SMA and use a trend following strategy.
I know this code is not perfect and I will continue to see how it can be improved.
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.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
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.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.