//@version=2
study(title="GreenRedSignal", shorttitle="BuySellSignal", overlay=true)
// Script created by JoinFree
// BollingerBands added for reference
// Buy Long when you see a Green colour bar
// Sell Short when you see a Red colour bar
mysignal = ema(close, 12) - ema(close, 26)
barcolor(mysignal > mysignal ? green : red)
source = close
length = input(20,...