OPEN-SOURCE SCRIPT

Hull MA Cloud with Buy/Sell Labels

602
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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。