UnknownUnicorn187266

MaxWarren's Pine Acceleration - 2nd Derivative

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
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

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.

Quer usar esse script no gráfico?
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)