The MQL5 language has the possibility to get the information about the number of input parameters, their type and values by indicator handle.
This Expert Advisor illustrates the usage of the IndicatorParameters() function.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/915
Corrected Average indicator by A.Uhl (also known as the "Optimal moving average").Chart_Period_Changer
A simple script for switching basic timeframes. It allows to change a chart period using hot keys.