Indicator Heiken_Ashi_SmoothedΒ with the possibility of changing its timeframe in its input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
For the indicator to work, indicator Heiken_Ashi_Smoothed.ex5 must be in the <terminal_data_catalog>MQL5Indicators folder.
Fig.1. Indicator Heiken_Ashi_Smoothed_HTF