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

Figure 1. The ATRSmoothed_HTF indicator
MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/14622
ATRSmoothed_3HTF
Three ATRSmoothed indicators from three different timeframes on one chart.
ATRSmoothed
A common Average True Range with the ability to smooth the resulting curve using an additional averaging method.