3 EMA CROSS
study(title="MA Cross", overlay=true) short = ema(close, 200) medium = ema(close, 100) long = ema(close, 50) plot(short, color = red) plot(medium, color = blue) plot(long, color = green) plot(cross(short, long) ? short : na, style = cross, linewidth = 4) plot(cross(medium, long) ? short : na, style = cross, linewidth = 4) plot(cross(short, medium) ? short : na, style = cross, linewidth = 4)