Golgistain

Daily SMAs on any resolution!

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
Remove from Favorite Scripts Add to Favorite Scripts
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)
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out