GD Hull
Forums › ProRealTime Deutsch forum › ProBuilder Support › GD Hull
- This topic has 4 replies, 2 voices, and was last updated 8 years ago by DonDollar.
Viewing 5 posts - 1 through 5 (of 5 total)
-
-
11/27/2016 at 8:09 PM #1732211/28/2016 at 10:14 AM #1734311/28/2016 at 12:22 PM #17355
Hi Nicolas!
It is a calculation method for the MA. See the attached file.
The Hull looks a little bit better than the SMA/EMA. And I would like to build a strategy based on the change of the uptrend and downtrend. Do you have an idea what the trigger is for the the change of the phase?
RGDS
11/28/2016 at 12:58 PM #17360So if you are referring to when the Hull moving average change its phase from downtrend to uptrend, here is the code:
1234567//HullMA, the Hull Moving Average:Period = 14Data = Closeinner = 2*weightedaverage[round(Period/2)](Data)-weightedaverage[Period](Data)S = weightedaverage[round(sqrt(Period))](inner)newuptrend = S[2]>S[1] and S>S[1]and to catch a newdowntrend:
1newdowntrend = S[2]<S[1] and S<S[1]11/28/2016 at 3:59 PM #17382 -
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)