The MaxminChannelWithSlope indicator with the timeframe selection option available in the input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires MaxminChannelWithSlope.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.
Figure 1. The MaxminChannelWithSlope_HTF indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/14726
Simple Max-Min channel with a slope.RJTX_Matches
The indicator helps to determine the beginning and end of trends on the basis of the slope of the "matches" lines and the color of their heads.