OPEN-SOURCE SCRIPT

tw.tha_V1 EMA

EMA Fibonacci V1 #tw.tha_V1

//version=5
strategy(" tw.tha_",overlay=1)


a = input.int(8, "EMA 1", minval=1, maxval=9999999, step=1)
b = input.int(13, "EMA 2", minval=1, maxval=9999999, step=1)
c = input.int(21, "EMA 3", minval=1, maxval=9999999, step=1)
d = input.int(34, "EMA 4", minval=1, maxval=9999999, step=1)
e = input.int(55, "EMA 5", minval=1, maxval=9999999, step=1)
f = input.int(89, "EMA 6", minval=1, maxval=9999999, step=1)
g = input.int(144, "EMA 7", minval=1, maxval=9999999, step=1)
h = input.int(233, "EMA 8", minval=1, maxval=9999999, step=1)
i = input.int(377, "EMA 9", minval=1, maxval=9999999, step=1)
j = input.int(610, "EMA 10", minval=1, maxval=9999999, step=1)
k = input.int(987, "EMA 11", minval=1, maxval=9999999, step=1)
l = input.int(1597, "EMA 12", minval=1, maxval=9999999, step=1)
m = input.int(2584, "EMA 13", minval=1, maxval=9999999, step=1)
n = input.int(4181, "EMA 14", minval=1, maxval=9999999, step=1)










maa=ta.ema(close,a)
mab=ta.ema(close,b)
mac=ta.ema(close,d)
mad=ta.ema(close,d)
mae=ta.ema(close,e)
maf=ta.ema(close,f)
mag=ta.ema(close,g)
mah=ta.ema(close,h)
mai=ta.ema(close,i)
maj=ta.ema(close,j)
mak=ta.ema(close,k)
mal=ta.ema(close,l)
mam=ta.ema(close,m)
man=ta.ema(close,n)








plot(maa,color=color.green)
plot(mab,color=color.green)
plot(mac,color=color.green)
plot(mad,color=color.green)
plot(mae,color=color.green)
plot(maf,color=color.green)
plot(mag,color=color.blue)
plot(mah,color=color.blue)
plot(mai,color=color.blue)
plot(maj,color=color.blue)
plot(mak,color=color.blue)
plot(mal,color=color.yellow)
plot(mam,color=color.yellow)
plot(man,color=color.yellow)











Exponential Moving Average (EMA)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer