Rate Of Change - Absolute Value

Measures the period's change in terms of the instrument's value (e.g. pip, dollar, etc) instead of as a percentage. I generally use it on a daily time frame with a period=1 to see how the current day's move compares with prior days' moves in order to gain a perspective into how this move ranks historically.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Rate Of Change", shorttitle="ROC")
source = close, length = input(9, minval=1)
roc = (source - source[length])
plot(roc, color=blue, title="ROC")
hline(0, title="Zero Line")
Hello Can you look at making a ROC of the 20 SMA like this. See video one hour in:
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out