lukacosicnz

% Change over time period

127 1 15
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
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out