The geTrendOsc indicator with the timeframe selection option available in the input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires geTrendOsc.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.
Fig.1. The geTrendOsc_HTF indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14222
The channel formed by two averages drawn on smoothing of High and Low price series. Candlesticks outside the channel limits are marked with color according to the trend.FP_HTF
The FP indicator with the timeframe selection option available in the input parameters.