Velocity is the slope of the line fitted between the current
bar value and the value the specified number of bars ago.