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