TradingView
cheatcountry
2021年10月20日午後4時11分

Ehlers Moving Average Difference Hann Indicator [CC] 

Apple Inc.NASDAQ

詳細

The Moving Average Difference Hann Indicator was created by John Ehlers (Stocks and Commodities Nov 2021) and this is an improved variation of his Moving Average Difference Indicator that uses smoothing from his Hann Windowing Indicator to provide smoother buy and sell signals. As for how this indicator works it is an improved version of the classic MACD indicator which of course takes a difference between two exponential moving averages. I have included strong buy and signals in addition to normal ones so lighter colors are normal signals and darker colors are strong signals. Buy when the line turns green and sell when it turns red.

Let me know if there are any other indicators you would like to see me publish!

リリースノート

Updated to v5

リリースノート

Fixed an issue pointed out by @u053541
コメント
AtomOfScent
I love how Ehlers just keeps hammering out new indicators after all these years. Thanks for bringing these to TV.
I wonder if this could be improved by using adaptive lengths? I guess there's only one way to find out...
cheatcountry
@AtomOfScent, Yeah the guy is 88 years old and is still going strong. I'm sure he will be publishing indicators until the day he dies
u053541
longLength := math.ceil((shortLength + domCycle) / 2) this part had some different from the original code, is it should be "domCycle/ 2"? like following: longLength := math.ceil((shortLength + domCycle/ 2) )
cheatcountry
@u053541, I updated this script based on the error you found. Just wanted to let you know
FadiD86
You are an indicator publishing stud cheatcountry - thank you!
cheatcountry
@FadiD86, thanks
francesca96bianchi
could you help me to translate this code to ProCode?
cheatcountry
@francesca96bianchi, send me a pm
詳細