OPEN-SOURCE SCRIPT

ROC + dROC + d2ROC (with z-scores & percentiles)

129
This indicator measures how price momentum is changing — not just whether it’s rising or falling, but how quickly that change itself is accelerating or slowing. It starts with the Rate of Change (ROC), which shows how much price has moved over a set period. The first derivative (ΔROC) tracks how ROC is changing from bar to bar, and the second derivative (Δ²ROC) shows whether that change is speeding up or fading — essentially the “acceleration” of momentum. Positive Δ²ROC means momentum is strengthening; negative means it’s weakening. The script also quantifies how extreme those shifts are using z-scores and percentiles, helping spot Druckenmiller-style turning points where trends often begin or end.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.