Simple customisable MA cross
//@version=2 study("Simple MA cross vdub_V!") ma3_p=input(3, title="Length 1") ma4_p=input(21, title="Length 2") ma3 = sma(close, ma3_p) ma4 = sma(close, ma4_p) plot(ma3, color = blue, linewidth = 2) plot(ma4, color = red, linewidth = 2) plot(cross(ma3, ma4) ? ma4 : na, style = circles, linewidth = 7 , color = black)