5 emaS setup
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © ADNANOFAGRI

//@version=5
indicator("57 emaS setup", overlay=true)

ema5 = ta.ema(close, 5)
ema8 = ta.ema(close, 8)
ema9 = ta.ema(close, 9)
ema20 = ta.ema(close, 20)
ema21 = ta.ema(close, 21)
ema34 = ta.ema(close, 34)
ema50 = ta.ema(close, 50)
ema100 = ta.ema(close, 100)
ema200 = ta.ema(close, 200)

//alertSell = (low)
//alertBuy = (high)
//fast2 = (ta.ema(close, 5))+10
//xalertSell = ta.crossunder(ema5, alertSell)
//xalertBuy =ta.crossover(ema5, alertBuy)
//xSell = xalertSell>low
plot(ema5,color=color.yellow, title="ema5")
plot(ema8,color=color.white, title="ema8")
plot(ema9,color=color.blue, title="ema9")
plot(ema20,color=color.orange, title="ema20")
plot(ema21,color=color.purple, title="ema21")
plot(ema34,color=color.teal, title="ema34")
plot(ema50,color=color.green, title="ema50")
plot(ema100,color=color.gray, title="ema100")
plot(ema200,color=color.red, title="ema200")
//if  alertSell > 

//plotchar(xalertSell, title="Sell", color=color.red)

//sell =ta.crossunder(ema5, alertSell)
//plotshape(sell, style=shape.labeldown, location= location.abovebar, color=color.red, title= "Sell", text="sell")
//plotchar(xalertBuy, title="Buy", color=color.teal, location = location.belowbar)

//plotchar(ta.crossunder(fast,ema), char='⇩', location = location.abovebar, color = color.red, text = "down", textcolor = color.red)

//plot(close)
