It is created as an alternative to MA to determine trend direction and is a kind of "hybrid" of a linear reversal and the iMovment indicator (https://www.mql5.com/en/code/99). The difference of the last is that the delta (the reversal parameter) is not plotted based on the close price, but exactly the extremums, i.e. high and low. At the same time the condition of the reversal is not only the delta but the breakthrough bar, i.e. breakthrough of a certain price level. Under the breakthrough bar (the bar with the "pure" closing) means the bar which closing is above high or below the previous bar's low. Isolation of these bars like the appearance of a new box on the charts of (three) linear reversal.
The SeriesBuffer buffer is added to the indicator on which the number of breakthrough bars of each trend in every moment is written so that the Expert Advisor can get this data. Besides the indicator can display the number of the breakthrough bars for the several last reversals.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1144
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.