BitcoinMedusa

Chart.Chat.Connect / About To Make It Happen

BITSTAMP:BTCUSD   比特幣
0
//Created by user ChrisMoody 1-31-2014 for user eriktatch

study(title = "CM_Hull MA-Color-Trend", shorttitle="CM_HMA-Color-Trend", overlay = true)
source = close, length = input(41, minval=1)
hullma = wma(2*wma(source, length/2)-wma(source, length), round(sqrt(length)))


//Lookback period set to ...use higher number to emphasize Trend
plot_color = hullma >= hullma ? lime : hullma < hullma ? red : white


plot(hullma, title = "Hull MA", style = line, linewidth = 4, color = plot_color)

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。