The NRTR_extr_ZigZag indicator with the timeframe selection option available in the input parameters
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires NRTR_extr_ZigZag.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.

Fig1. The NRTR_extr_ZigZag_HTF indicator