//@version=4
study(title="5 Medias 8 - 20 -50 -200 -301 -365 -1400", overlay=true)
sshort = ema (close, 8)
mshort = sma (close, 20)
short = sma (close, 50)
long = sma (close, 200)
long2 = sma (close, 301)
long3 = sma (close, 365)
long4 = sma (close, 1407)
plot(sshort, color = color.black)
plot(mshort, color = color.gray)
plot(short, color = color.red)
plot(long, color = color.green)
plot(long2, color = color.purple)
plot(long3, color = color.teal)
plot(long4, color = color.teal)
study(title="5 Medias 8 - 20 -50 -200 -301 -365 -1400", overlay=true)
sshort = ema (close, 8)
mshort = sma (close, 20)
short = sma (close, 50)
long = sma (close, 200)
long2 = sma (close, 301)
long3 = sma (close, 365)
long4 = sma (close, 1407)
plot(sshort, color = color.black)
plot(mshort, color = color.gray)
plot(short, color = color.red)
plot(long, color = color.green)
plot(long2, color = color.purple)
plot(long3, color = color.teal)
plot(long4, color = color.teal)