OPEN-SOURCE SCRIPT

,,,

32
//version=5
indicator(title='Moving Average Exponential', shorttitle='EMA', overlay=true, timeframe='')
len = input.int(6, minval=1, title='Length')
len1 = input.int(13, minval=1, title='Length')
len2 = input.int(24, minval=1, title='Length')
len3 = input.int(55, minval=1, title='Length')
src = input(close, title='Source')
offset = input.int(title='Offset', defval=0, minval=-500, maxval=500)
out = ta.ema(src, len)
out1 = ta.ema(src, len1)
out2 = ta.ema(src, len2)
out3 = ta.ema(src, len3)
plot(out, title='EMA', color=color.new(color.yellow, 0), offset=offset)
plot(out1, title='EMA1', color=color.new(color.blue, 0), offset=offset)
plot(out2, title='EMA2', color=color.new(color.red, 0), offset=offset)
plot(out3, title='EMA2', color=color.new(#19e82a, 0), offset=offset)

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.