Hallo zusammen!
Ich benutze ganz gerne den GD nach Hull. Hat jemand eine Idee wie ich die Änderung bei diesem GD von Kauf auf Verkauf auswerten kann?
Danke!
VG
DonDollar
Es tut mir leid, aber was ist GD Hull? aufrechtzuerhalten.
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
So if you are referring to when the Hull moving average change its phase from downtrend to uptrend, here is the code:
//HullMA, the Hull Moving Average:
Period = 14
Data = Close
inner = 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:
newdowntrend = S[2]<S[1] and S<S[1]
Nicolas,
thanks a lot. That’s more than great !
Rgds