OPEN-SOURCE SCRIPT

4 Hull MA

The Hull Moving Average (HMA) was developed by Alan Hull in 2005 for the purpose of reducing lag, increasing responsiveness while at the same time eliminating noise. Its calculation is elaborate and makes use of the Weighted Moving Average (WMA). It emphasizes recent prices over older ones, resulting in a fast-acting yet smooth moving average that can be used to identify the prevailing market trend. It can also be used for entry and exit signals. I have integrated 4 HMA's into one which can be used for taking entry and exits similar to 4 EMA strategies. All credit goes to Alan Hull for developing this technique.
HMAHull Moving Average (HMA)Moving Averages

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer