Black panther wakanda forever index, uploadsnack password, citampi stories, friends index

God indicator 2

 //@version=5

indicator("9 EMA Crosses 21 EMA Buy/Sell Signal", overlay=true)


// Calculate EMAs

ema9 = ta.ema(close, 9)

ema21 = ta.ema(close, 21)


// Plot EMAs

plot(ema9, color=color.blue, title="9 EMA")

plot(ema21, color=color.red, title="21 EMA")


// Buy and Sell signal conditions

buySignal = ta.crossover(ema9, ema21)

sellSignal = ta.crossunder(ema9, ema21)


// Plot Buy Signal

plotshape(series=buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")


// Plot Sell Signal

plotshape(series=sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")


No comments:

Post a Comment