TradingView
mohamed982
28 מרץ 2015 22:07

Hull MA 

eBay Inc.NASDAQ

תיאור

Hull Moving Average
תגובות
p298
Hey! Why does the hull ma change from red to green back to red. What moving average crosses are they to have them switch colors? I am trying to code a bot that buys when the hullma is green and sells when the hullma is red, and was wondering which moving averages cause them to change colors. Thanks!
mohamed982
@p298,
Hello , All you need to do is to just copy my script that calculates the HMA without hving to worry about the math stuff . generally HMA is based on weighted MA . any way start copying from the second line n=input …… all the way down to n2 >>>>>> Then compare the values of n2 against n1 . like this way
strategy(n1>n2 , long)
strategy(n2>n1 , short)
Compare values don't look at colors , colors are just for visual representation of signal
MergenAltay
@mohamed982, Your indicator is the best but we need to get signal from Tradingview. Do you add a color alert signal? Please Please Please :))
SACHDREAM007
..
Adamluqman10
Hey what is the setting Hull ma for intraday? Like tf 4h & tf1h and 30minute. Tq
KristyDarling
Your Hull MA is the best !! Try to daytrade US stock with this one, give the better result .
jamjan33
Is it possible to get this indicator for metatrader? I use it everyday that I trade. This is the best indicator I have used since I discovered Bollinger Bands!!
Mactormind
@jamjan33, Did you ever get an answer for this? I really really like the single color changing line but cant seem to find anything similar for my MT4 chart.....
mohamed982
@Mactormind, it's easy to do for MT4
mohamed982
@jamjan33, it can be custom made for MT
עוד