This script provides a plot of the 1st, 2nd, and 3rd time derivatives of a chart. All three lines being above the zero point (being positive) indicates a high likelihood of an upward trend, while all three lines being below the zero point (being negative) indicates a high likelihood of a downward trend.