Velocity, Acceleration, Jerk
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © dwoodbrey15

//@version=5
indicator("Velocity, Acceleration, Jerk")
Length = input(50)
v = ta.change(close, Length)
a = ta.change(v, Length)
j = ta.change(a, Length)

plot(j, "Jerk", color=#7e57c2, style=plot.style_columns, transp=25)
plot(a, "Acceleration", color=#26c6da, style=plot.style_columns, transp=25)
plot(v, "Velocity", color=#f7525f, style=plot.style_columns, transp=25)

hline(0, color=color.white)