Predefined MM HULL (20 periods) uses TYPICALPRICE and matches exactly my two custom indicators:
Custom HULL 1
1
2
3
4
5
6
Period=20
src=CustomClose
x1=WeightedAverage[Period](src)
x2=(2*WeightedAverage[round(Period/2)](src))-x1
HullMA=WeightedAverage[round(sqrt(Period))](x2)
RETURNHullMA
Custom HULL 2
1
2
p=20
RETURNaverage[p,7](TypicalPrice)
Predefined HULL MOVING AVERAGE (20 periods) uses CLOSE , so it cannot match the other two. If you use CLOSE also with the other predefined MM HULL (and custom ones) they will match.
Using CustomClose implies the properties to ask users what price they want the indicator to be applied to (a dropdown list will allow you to select Close, Low, High, Open, TypicalPrice. MedianPrice, ….).
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok