Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Hull moving average #36

Open
xelra opened this issue Nov 11, 2020 · 3 comments
Open

Feature request: Hull moving average #36

xelra opened this issue Nov 11, 2020 · 3 comments

Comments

@xelra
Copy link

xelra commented Nov 11, 2020

It would be great, if you could add the HMA (Hull Moving Average) indicator.

This is the formula in PineScript:

length = input(9, minval=1)
src = input(close, title="Source")
hma = wma(2*wma(src, length/2)-wma(src, length), round(sqrt(length)))

Here is the website from Alan Hull, explaining the indicator. It's a moving average that is smoother than EMA and less lagging.

@greyblake
Copy link
Owner

@xelra Thanks for the report.
If you want it soon I'd recommend you implementing the indicator and opening a PR.

@pindaroso
Copy link

Checking in on this. Any progress here? Would love to contribute.

@greyblake
Copy link
Owner

@pindaroso Go ahead. (even though, history of PRs stuck is a little bit discouraging).
I'll try to find some time to handle issues/PRs for ta.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants