TAIEX FUTURES

合併

43
//version=3
study(title="Moving Average Exponential x 4", shorttitle="EMA", overlay=true)
len50 = input(50, minval=1, title="First")
src50 = input(close, title="Source")
out50 = ema(src50, len50)
plot(out50, title="EMA - 1", color=#fc4c2a, linewidth=4, transp=0)

len100 = input(100, minval=1, title="Second")
src100 = input(close, title="Source")
out100 = ema(src100, len100)
plot(out100, title="EMA - 2", color=#35b4b8, linewidth=4, transp=0)

len200 = input(200, minval=1, title="Third")
src200 = input(close, title="Source")
out200 = ema(src200, len200)
plot(out200, title="EMA - 3", color=#2e3440, linewidth=4, transp=0)

len400 = input(400, minval=1, title="Fourth")
src400 = input(close, title="Source")
out400 = ema(src400, len400)
plot(out400, title="EMA - 4", color=#9b9e9e, linewidth=4, transp=0)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.