ROC Pulse: Rate of Change with Historical EchoROC Pulse reimagines the classic Rate of Change indicator with a focus on
context and historical perspective. Instead of just showing momentum, it
answers the key question: "When was the last time price moved this much?"
KEY FEATURES:
📊 RATE OF CHANGE or BASIS POINTS MODE
Switch between standard % ROC (equities, commodities, FX) and absolute
basis points change (ideal for rates and yields like US10Y, USIRYY, USINTR,
EUDIR, JP10Y, where a percentage-of-percentage makes no sense).
📅 DYNAMIC START DATE with shaded zone
Drag the vertical line directly on the chart to set your analysis window.
Everything before it is shaded out. Max and Min markers update in real time
as you move the boundary.
🎯 HISTORICAL ECHO LINE
The last bar's ROC value is matched against the full price history to find
the most recent bar with an equal or more extreme move. A dashed line connects
the two — giving you instant visual context.
Example: Crude Oil (CL) is down -11.65% this week. ROC Pulse immediately
draws a line back to the last time oil fell this hard or harder — no manual
scanning needed.
📍 MAX & MIN MARKERS
Within your selected time window, the indicator marks the highest and lowest
ROC values with customizable markers (Circle, Diamond, Flag, or Label),
labeled with "Max:" and "Min:" so they're never confused with the last bar.
🎨 FULLY CUSTOMIZABLE
- Marker shape: Circle / Diamond / Flag / Label (separately for Last Bar
and Max/Min)
- Text offset control to keep labels clean at any zoom level
- All elements can be toggled on/off independently
HOW TO USE:
1. Add to any chart. Default mode is % ROC with length=1 (bar-to-bar change).
2. For yields and rates (US10Y, SOFR, USINTR): enable "Basis Points mode"
in settings.
3. Drag the vertical separator to define your analysis window — Max/Min
markers will update instantly.
4. Watch the dashed echo line on the last bar: it tells you exactly when
history rhymed.
Built for macro traders, journalists, and analysts who need more than a line.
Pine Script® indicator






















