This code is based off of the Tom DeMark TD Sequential Indicator. Basic criteria is as follows:
Also draws TDST Support and Resistance lines as descriped in book "DeMark Indicators"
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.