Charles

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.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,因此交易者可以理解和验证它。为作者加油! 您可以免费使用它,但是在发布中重复使用此代码受网站规则的约束。您可以收藏它以在图表上使用。

想在图表上使用此脚本?
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")

评论

just use ATR
回复
Hello Can you look at making a ROC of the 20 SMA like this. See video one hour in: https://youtu.be/I_aqnns0vJ0
回复