lukacosicnz

% Change over time period

98 1 9
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")
Very simple and effective indicator. Thank you!
Reply
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
Home Stock Screener Forex Signal Finder 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
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out