This is the acceleration of a chart written in pine. It's the second derivative otherwise the derivative of the momentum.
It shows how fast a stock's momentum is changing and in what direction.
As standard I left the controls in the settings for source and length of the estimate.
I will be incorporating this in other more complicated scripts here shortly
It shows how fast a stock's momentum is changing and in what direction.
As standard I left the controls in the settings for source and length of the estimate.
I will be incorporating this in other more complicated scripts here shortly
study(title="MaxW's DMA", shorttitle="MaxW's DMA", overlay=false) dAccuracy = input(1, minval=1, title="Derivative Estimate") dSrc = input(close, title="Source") slope = (dSrc - dSrc[dAccuracy]) / dAccuracy aAccuracy = input(1, minval=1, title="Acceleration Estimate") dSlope = (slope - slope[aAccuracy]) / aAccuracy plot(dSlope)