Node reference
ROC — Rate of Change
Percentage change versus N bars ago — momentum around zero.
Rev. 2026.06
ROCindicator
InputsOutputsROC
Source
source · number
ROC
main · number
Configure
- period
- — Lookback length, in bars
- default 10
- range 1–500
ROC13.2%latest
roc
Period10
2 · fastsmooth · 30
Short period (10) — very sensitive: it swings to the extremes often, so you get more signals but more noise.
What it does
Reads how far price has moved, in percent, compared to N bars back. Positive = rising, negative = falling.
What happens
Recomputed once per candle from its wired source, incrementally (constant work per bar). It emits no value until the warmup period has passed; after that it produces a value every bar.
When to use
Momentum filters and thresholds (e.g. only go long while ROC is above 0).
Gotchas
- It's a percentage centered on 0, not a price — don't compare it to price levels.