Draws 5 MA on the chart. Not only the smoothing method (SMA, SMMA, EMA, LWMA) and the period can be selected, but also the timeframe and the indicator horizontal offset.
A favor, to be exact: I am merely learning programming and do not know much, but... if anyone has an idea about the improvement of the indicator, feel free to write. I would be interested in trying to implement your ideas!
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14146
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.