ta-rs
ta-rs copied to clipboard
Feature request: Hull moving average
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.
@xelra Thanks for the report. If you want it soon I'd recommend you implementing the indicator and opening a PR.
Checking in on this. Any progress here? Would love to contribute.
@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.