Quality of life script I just threw together, figured some of you might get some use out of it
Does what you'd think
Could edit the security function (or add another) to return the info at any resolution
Does what you'd think
Could edit the security function (or add another) to return the info at any resolution
study(title="Daily Simple Moving Averages", shorttitle="Daily SMAs", overlay=true) sma1=input(50,"SMA Length", type=integer) sma2=input(100,"#2", type=integer) sma3=input(200,"#3", type=integer) sa(x) => security(tickerid, "D", sma(close,x)) plot(sa(sma1), color=purple, linewidth=2) plot(sa(sma2), color=blue, linewidth=2) plot(sa(sma3), color=black, linewidth=2)