OPEN-SOURCE SCRIPT
Delta ROC (acceleration) + Guide

Stan Druckenmiller often stresses that markets are driven not by absolute numbers but by their rate of change. He says the key is to “focus on the central banks and the movement of liquidity,” and notes that “because it used second-derivative rate of change, these things will often bottom a year to a year and a half before the fundamentals.” In essence, he looks for inflection points—moments when momentum itself begins to turn—well before the data or headlines confirm it.
The ΔROC (Delta Rate of Change) indicator applies that same philosophy. It measures both the first derivative of price (ROC: speed or momentum) and the second derivative (ΔROC: acceleration or deceleration of that momentum). Green bars signal that momentum is accelerating—buyers gaining control—while red bars show slowing momentum or exhaustion. Combine this with trend filters like the 30- and 50-day moving averages to spot early shifts in sentiment and liquidity—the kind of turning points Druckenmiller calls the “second-derivative moments” that often lead the real economy by months.
The ΔROC (Delta Rate of Change) indicator applies that same philosophy. It measures both the first derivative of price (ROC: speed or momentum) and the second derivative (ΔROC: acceleration or deceleration of that momentum). Green bars signal that momentum is accelerating—buyers gaining control—while red bars show slowing momentum or exhaustion. Combine this with trend filters like the 30- and 50-day moving averages to spot early shifts in sentiment and liquidity—the kind of turning points Druckenmiller calls the “second-derivative moments” that often lead the real economy by months.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.