Indicator Ang_Zad_C allowing changing the timeframe of the indicator in its input parameters, the space between the oscillator and its signal line being filled in color, according to the trend direction
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
For the indicator to operate, the Ang_Zad_C.ex5 indicator must be added to the <terminal_data_directory>\MQL5\Indicators folder.
Fig 1. Indicator Ang_Zad_C_HTF