shawn.packwood

Scaled Moving Average

102 0 6
Simple moving average with a scaling factor.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Scaled Moving Average", shorttitle="Scaled MA", overlay=true)
len = input(20, minval=1, title="Length")
src = input(close, title="Source")
scale = input(1.0, title="Scale", type=float, minval=0, maxval=2, step=0.1)
out = sma(src, len) * scale
plot(out, color=blue, title="MA")
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 Billing Sign Out