lukacosicnz

% Change over time period

65 0 3
The change in percent over a specified number of candles
Remove from Favorite Scripts Add to Favorite Scripts
study(title="% Change over time period", shorttitle="%Change", overlay=false)
len = input(10, minval=2, title="Period Length")
src = input(ohlc4, title="Source")
out = ((src[0] - src[len])/src[0])*100

plot(out, color=blue, title="%Change")
plot(0, color=black, title="center line")
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