New free code from MQL5: indicators, EAs, and scripts for traders.
The TrendTriggerMod indicator with the timeframe selection option available in input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires the compiled indicator file TrendTriggerMod.mq5 for operation. Place it to terminal_data_folder\MQL5\Indicators\.

Watch in-depth trading tutorials and EA reviews on the RobotFX YouTube channel. Subscribe for free tips.
Figure 1. Indicator TrendTriggerMod_HTF
Complement community code with advanced automation from RobotFX.
2090