ta-rs icon indicating copy to clipboard operation
ta-rs copied to clipboard

Feature request: Hull moving average

Open xelra opened this issue 3 years ago • 3 comments

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 avatar Nov 11 '20 16:11 xelra

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

greyblake avatar Nov 11 '20 17:11 greyblake

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

pindaroso avatar Mar 24 '21 22:03 pindaroso

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

greyblake avatar Mar 25 '21 17:03 greyblake