It is just funny, 600 hundred pages on the board and a hardly stiring code! I've made my own variant - it's flying!
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/8154
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.